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.h
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.h')
-rw-r--r--Swift/Controllers/Chat/ChatControllerBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.h b/Swift/Controllers/Chat/ChatControllerBase.h
index 6a92429..9573b1b 100644
--- a/Swift/Controllers/Chat/ChatControllerBase.h
+++ b/Swift/Controllers/Chat/ChatControllerBase.h
@@ -57,6 +57,7 @@ namespace Swift {
virtual std::string senderDisplayNameFromMessage(const JID& from) = 0;
virtual bool isIncomingMessageFromMe(boost::shared_ptr<Message>) = 0;
virtual void preHandleIncomingMessage(boost::shared_ptr<MessageEvent>) {};
+ virtual void postHandleIncomingMessage(boost::shared_ptr<MessageEvent>) {};
virtual void preSendMessageRequest(boost::shared_ptr<Message>) {};
virtual bool isFromContact(const JID& from);
virtual boost::optional<boost::posix_time::ptime> getMessageTimestamp(boost::shared_ptr<Message>) const = 0;