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
+5
View File
@@ -80,6 +80,11 @@ public:
* Send a MUC message from some participant
*/
void send_message(const Iid& iid, const std::string& nick, const std::string& body, const bool muc);
/**
* Send a presence of type error, from a room. This is used to indicate
* why joining a room failed.
*/
void send_join_failed(const Iid& iid, const std::string& nick, const std::string& type, const std::string& condition, const std::string& text);
/**
* Send an unavailable presence from this participant
*/