summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-24 17:24:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-24 17:24:54 (GMT)
commitb81be3bdd0fabeb448da988c92743b8cb8b9073b (patch)
treee10ded5943a85f205da1d013be662cd7060110f6 /Swift/Controllers/ChatController.h
parent012cf52e31e5fcce555482d9e23ff1355591c37e (diff)
downloadswift-contrib-b81be3bdd0fabeb448da988c92743b8cb8b9073b.zip
swift-contrib-b81be3bdd0fabeb448da988c92743b8cb8b9073b.tar.bz2
Do not show status changes in MUCs.
Diffstat (limited to 'Swift/Controllers/ChatController.h')
-rw-r--r--Swift/Controllers/ChatController.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swift/Controllers/ChatController.h b/Swift/Controllers/ChatController.h
index ea870b7..2103d25 100644
--- a/Swift/Controllers/ChatController.h
+++ b/Swift/Controllers/ChatController.h
@@ -10,9 +10,9 @@ namespace Swift {
public:
ChatController(const JID& self, StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, const JID &contact, NickResolver* nickResolver, PresenceOracle* presenceOracle, AvatarManager*);
- //boost::signal<void (const JID&, const JID&)> onJIDChanged;
-
- protected:
+ private:
+ void handlePresenceChange(boost::shared_ptr<Presence> newPresence, boost::shared_ptr<Presence> previousPresence);
+ String getStatusChangeString(boost::shared_ptr<Presence> presence);
bool isIncomingMessageFromMe(boost::shared_ptr<Message> message);
void postSendMessage(const String &body);
void preHandleIncomingMessage(boost::shared_ptr<Message> message);