diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-03-31 16:34:53 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-04-09 09:15:05 (GMT) |
commit | 1e61cace31a3395f5470a03c3bcf2b7f32d79d03 (patch) | |
tree | 972f42651900908a2a33bf34cf142fe573d5a3d4 /Swift/Controllers/Chat/MUCController.h | |
parent | 736aae33a0af7bff42f73a323edb76775b2c39a9 (diff) | |
download | swift-contrib-1e61cace31a3395f5470a03c3bcf2b7f32d79d03.zip swift-contrib-1e61cace31a3395f5470a03c3bcf2b7f32d79d03.tar.bz2 |
Made MUC context options role-aware
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/Controllers/Chat/MUCController.h')
-rw-r--r-- | Swift/Controllers/Chat/MUCController.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/MUCController.h b/Swift/Controllers/Chat/MUCController.h index 16dcb99..6906f81 100644 --- a/Swift/Controllers/Chat/MUCController.h +++ b/Swift/Controllers/Chat/MUCController.h @@ -63,6 +63,7 @@ namespace Swift { void postHandleIncomingMessage(boost::shared_ptr<MessageEvent>); private: + void setAvailableRoomActions(const MUCOccupant::Affiliation& affiliation, const MUCOccupant::Role& role); void clearPresenceQueue(); void addPresenceMessage(const std::string& message); void handleWindowOccupantSelectionChanged(ContactRosterItem* item); @@ -73,6 +74,7 @@ namespace Swift { void handleOccupantLeft(const MUCOccupant& occupant, MUC::LeavingType type, const std::string& reason); void handleOccupantPresenceChange(boost::shared_ptr<Presence> presence); void handleOccupantRoleChanged(const std::string& nick, const MUCOccupant& occupant,const MUCOccupant::Role& oldRole); + void handleOccupantAffiliationChanged(const std::string& nick, const MUCOccupant::Affiliation& affiliation,const MUCOccupant::Affiliation& oldAffiliation); void handleJoinComplete(const std::string& nick); void handleJoinFailed(boost::shared_ptr<ErrorPayload> error); void handleJoinTimeoutTick(); |