summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-12-26 23:00:53 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-12-26 23:00:53 (GMT)
commit4d89c280976426c9e29ee9235b296afc4d38a7cd (patch)
tree5175891eebfc5cc05e64dc5e92ab5a1befcc85a2 /Swift/Controllers/ChatsManager.h
parentc3bda61b09597a7944fbc382366bcdf998540e82 (diff)
downloadswift-contrib-4d89c280976426c9e29ee9235b296afc4d38a7cd.zip
swift-contrib-4d89c280976426c9e29ee9235b296afc4d38a7cd.tar.bz2
Fix segfault at launch due to argument reversal.
Diffstat (limited to 'Swift/Controllers/ChatsManager.h')
-rw-r--r--Swift/Controllers/ChatsManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/ChatsManager.h b/Swift/Controllers/ChatsManager.h
index 260bd1d..dd80d95 100644
--- a/Swift/Controllers/ChatsManager.h
+++ b/Swift/Controllers/ChatsManager.h
@@ -35,7 +35,7 @@ namespace Swift {
void handleJoinMUCRequest(const JID& muc, const String& nick);
private:
void rebindControllerJID(const JID& from, const JID& to);
- void handlePresenceChange(boost::shared_ptr<Presence> oldPresence, boost::shared_ptr<Presence> newPresence);
+ void handlePresenceChange(boost::shared_ptr<Presence> newPresence, boost::shared_ptr<Presence> lastPresence);
ChatController* getChatController(const JID &contact);
virtual bool isMUC(const JID& muc) const;