disabled red background in #mentions

This commit is contained in:
fourtf
2018-10-21 13:29:52 +02:00
parent f4cf464ddb
commit c6e1ec3c71
5 changed files with 15 additions and 5 deletions
+6
View File
@@ -226,6 +226,12 @@ bool Channel::isLive() const
return false;
}
bool Channel::shouldIgnoreHighlights() const
{
return this->type_ == Type::TwitchMentions ||
this->type_ == Type::TwitchWhispers;
}
std::shared_ptr<Channel> Channel::getEmpty()
{
static std::shared_ptr<Channel> channel(new Channel("", Type::None));