diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-12 22:47:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-12 22:47:53 +0300 |
commit | cb462bb18da734c7d1e4023f6b5ba38e38678f6b (patch) | |
tree | e1cde7e77d68343742da4b098ea2dcc2b32bcc8a /src/gui/widgets/tabs | |
parent | b8cdf9c5dfc3b499708bd3a23e6934fd46fd047e (diff) | |
download | plus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.tar.gz plus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.tar.bz2 plus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.tar.xz plus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.zip |
Dont highlight server messages in chat channels.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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; } |