Send an error presence whenever a user tries to join an invalid room

This commit is contained in:
Florent Le Coz
2014-03-24 21:08:09 +01:00
parent cdc3183d9e
commit e47b164a43
2 changed files with 46 additions and 1 deletions
+6
View File
@@ -86,6 +86,12 @@ public:
const std::string& role,
const std::string& to,
const bool self);
/**
* Send an error to indicate that the user tried to join an invalid room
*/
void send_invalid_room_error(const std::string& muc_jid,
const std::string& nick,
const std::string& to);
/**
* Send the MUC topic to the user
*/