changes and fix displayname of 'is live' message

This commit is contained in:
hemirt
2019-03-01 21:18:32 +01:00
parent ec6b26cd23
commit 3c01af9805
6 changed files with 43 additions and 7 deletions
+5
View File
@@ -43,6 +43,11 @@ const QString &Channel::getName() const
return this->name_;
}
const QString &Channel::getDisplayName() const
{
return this->getName();
}
bool Channel::isTwitchChannel() const
{
return this->type_ >= Type::Twitch && this->type_ < Type::TwitchEnd;
+1
View File
@@ -47,6 +47,7 @@ public:
Type getType() const;
const QString &getName() const;
virtual const QString &getDisplayName() const;
bool isTwitchChannel() const;
virtual bool isEmpty() const;
LimitedQueueSnapshot<MessagePtr> getMessageSnapshot();