summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/chattab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.cpp6
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;
}