summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-03-04 17:05:48 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-03-04 17:05:48 (GMT)
commit3b1d44842367b730688ee3a2069a25912cd2721e (patch)
treefd8e0750d48a4e89fff0684a852716631c9e59d4 /Swift/Controllers/Chat/ChatControllerBase.cpp
parent3f06fdbf826d8d1c1e243cff5fcbf27870f4f0f8 (diff)
downloadswift-3b1d44842367b730688ee3a2069a25912cd2721e.zip
swift-3b1d44842367b730688ee3a2069a25912cd2721e.tar.bz2
Don't show popups if the chat's on top.
Resolves: #774 Release-Notes: Popup notifications for new messages should no longer be generated if the relevant chat is currently selected.
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.cpp')
-rw-r--r--Swift/Controllers/Chat/ChatControllerBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.cpp b/Swift/Controllers/Chat/ChatControllerBase.cpp
index 7efa134..281d968 100644
--- a/Swift/Controllers/Chat/ChatControllerBase.cpp
+++ b/Swift/Controllers/Chat/ChatControllerBase.cpp
@@ -184,6 +184,7 @@ void ChatControllerBase::handleIncomingMessage(boost::shared_ptr<MessageEvent> m
}
chatWindow_->show();
chatWindow_->setUnreadMessageCount(unreadMessages_.size());
+ postHandleIncomingMessage(messageEvent);
}
std::string ChatControllerBase::getErrorMessage(boost::shared_ptr<ErrorPayload> error) {