diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-07-25 20:15:31 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-07-25 20:15:31 (GMT) |
commit | 719127a8772f921fdba3169b449a4407143c8c45 (patch) | |
tree | 143db01c914c14d5f5261393a8f2de4ecc18866b /Swift/Controllers/Chat/MUCController.cpp | |
parent | 501989d4b371c850a1c5a0350ca3f1c4900305f4 (diff) | |
download | swift-contrib-719127a8772f921fdba3169b449a4407143c8c45.zip swift-contrib-719127a8772f921fdba3169b449a4407143c8c45.tar.bz2 |
Preparation for merging presences in the chat log.
Diffstat (limited to 'Swift/Controllers/Chat/MUCController.cpp')
-rw-r--r-- | Swift/Controllers/Chat/MUCController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/MUCController.cpp b/Swift/Controllers/Chat/MUCController.cpp index 405272e..1ea0ad1 100644 --- a/Swift/Controllers/Chat/MUCController.cpp +++ b/Swift/Controllers/Chat/MUCController.cpp @@ -178,7 +178,7 @@ void MUCController::handleOccupantJoined(const MUCOccupant& occupant) { } joinString += "."; - chatWindow_->addSystemMessage(joinString); + chatWindow_->addPresenceMessage(joinString); } if (avatarManager_ != NULL) { handleAvatarChanged(jid, "dummy"); @@ -266,7 +266,7 @@ void MUCController::handleOccupantLeft(const MUCOccupant& occupant, MUC::Leaving partMessage += " (" + reason + ")"; } partMessage += "."; - chatWindow_->addSystemMessage(partMessage); + chatWindow_->addPresenceMessage(partMessage); if (occupant.getNick() != nick_) { roster_->removeContact(JID(toJID_.getNode(), toJID_.getDomain(), occupant.getNick())); } else { |