Handle nickname conflicts by sending the correct XMPP error presence
This commit is contained in:
@@ -107,6 +107,12 @@ public:
|
||||
const std::string& reason,
|
||||
const std::string& author,
|
||||
const std::string& jid_to);
|
||||
/**
|
||||
* Send a presence type=error with a conflict element
|
||||
*/
|
||||
void send_nickname_conflict_error(const std::string& muc_name,
|
||||
const std::string& nickname,
|
||||
const std::string& jid_to);
|
||||
/**
|
||||
* Handle the various stanza types
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user