Send an error presence when the connection to the IRC server fails

This commit is contained in:
Florent Le Coz
2014-05-28 01:27:41 +02:00
parent 7b31bea75b
commit 6c2d03da4e
5 changed files with 54 additions and 1 deletions
+9
View File
@@ -141,6 +141,15 @@ public:
void send_nickname_conflict_error(const std::string& muc_name,
const std::string& nickname,
const std::string& jid_to);
/**
* Send a generic presence error
*/
void send_presence_error(const std::string& muc_name,
const std::string& nickname,
const std::string& jid_to,
const std::string& type,
const std::string& condition,
const std::string& text);
/**
* Send a presence from the MUC indicating a change in the role and/or
* affiliation of a participant