Convert received modes into roles and affiliations

This commit is contained in:
Florent Le Coz
2014-01-04 01:59:36 +01:00
parent baf03a7e20
commit e840704b58
11 changed files with 183 additions and 10 deletions
+9
View File
@@ -112,6 +112,15 @@ public:
void send_nickname_conflict_error(const std::string& muc_name,
const std::string& nickname,
const std::string& jid_to);
/**
* Send a presence from the MUC indicating a change in the role and/or
* affiliation of a participant
*/
void send_affiliation_role_change(const std::string& muc_name,
const std::string& target,
const std::string& affiliation,
const std::string& role,
const std::string& jid_to);
/**
* Handle the various stanza types
*/