From cb462bb18da734c7d1e4023f6b5ba38e38678f6b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 12 Mar 2016 22:47:53 +0300 Subject: Dont highlight server messages in chat channels. --- src/gui/widgets/tabs/chat/chattab.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp index de3713482..82be62c8d 100644 --- a/src/gui/widgets/tabs/chat/chattab.cpp +++ b/src/gui/widgets/tabs/chat/chattab.cpp @@ -298,8 +298,10 @@ void ChatTab::chatLog(std::string line, mScrollArea->logic(); if (own != ChatMsgType::BY_PLAYER) { - if (own == ChatMsgType::BY_SERVER && (getType() == ChatTabType::PARTY - || getType() == ChatTabType::GUILD)) + if (own == ChatMsgType::BY_SERVER && + (getType() == ChatTabType::PARTY || + getType() == ChatTabType::CHANNEL || + getType() == ChatTabType::GUILD)) { return; } -- cgit v1.2.3-70-g09d2