diff options
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r-- | Swift/Controllers/Chat/MUCController.cpp | 6 | ||||
-rw-r--r-- | Swift/Controllers/Chat/MUCController.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Swift/Controllers/Chat/MUCController.cpp b/Swift/Controllers/Chat/MUCController.cpp index 3b37179..3031efe 100644 --- a/Swift/Controllers/Chat/MUCController.cpp +++ b/Swift/Controllers/Chat/MUCController.cpp @@ -75,7 +75,7 @@ MUCController::MUCController ( chatWindow_->addSystemMessage("Trying to join room " + toJID_.toString()); rejoin(); if (avatarManager_ != NULL) { - avatarChangedConnection_ = (avatarManager_->onAvatarChanged.connect(boost::bind(&MUCController::handleAvatarChanged, this, _1, _2))); + avatarChangedConnection_ = (avatarManager_->onAvatarChanged.connect(boost::bind(&MUCController::handleAvatarChanged, this, _1))); } } @@ -148,7 +148,7 @@ void MUCController::handleJoinComplete(const String& nick) { setEnabled(true); } -void MUCController::handleAvatarChanged(const JID& jid, const String&) { +void MUCController::handleAvatarChanged(const JID& jid) { if (parting_ || !jid.equals(toJID_, JID::WithoutResource)) { return; } @@ -192,7 +192,7 @@ void MUCController::handleOccupantJoined(const MUCOccupant& occupant) { } } if (avatarManager_ != NULL) { - handleAvatarChanged(jid, "dummy"); + handleAvatarChanged(jid); } } diff --git a/Swift/Controllers/Chat/MUCController.h b/Swift/Controllers/Chat/MUCController.h index 4601386..c922e83 100644 --- a/Swift/Controllers/Chat/MUCController.h +++ b/Swift/Controllers/Chat/MUCController.h @@ -60,7 +60,7 @@ namespace Swift { void clearPresenceQueue(); void addPresenceMessage(const String& message); void handleWindowClosed(); - void handleAvatarChanged(const JID& jid, const String&); + void handleAvatarChanged(const JID& jid); void handleOccupantJoined(const MUCOccupant& occupant); void handleOccupantLeft(const MUCOccupant& occupant, MUC::LeavingType type, const String& reason); void handleOccupantPresenceChange(boost::shared_ptr<Presence> presence); |