diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-06-11 02:37:11 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-06-11 02:37:11 +0200 |
commit | 7c1a38999c2eebfbd0939c9f8f8f864f10d9bc9a (patch) | |
tree | 258af2b9ab6c31640f4454dd22867ac688e8345b /src/xmpp/xmpp_component.hpp | |
parent | 6210a9d50b216f22a8b755c2c9daea66659514f0 (diff) | |
download | biboumi-7c1a38999c2eebfbd0939c9f8f8f864f10d9bc9a.tar.gz biboumi-7c1a38999c2eebfbd0939c9f8f8f864f10d9bc9a.tar.bz2 biboumi-7c1a38999c2eebfbd0939c9f8f8f864f10d9bc9a.tar.xz biboumi-7c1a38999c2eebfbd0939c9f8f8f864f10d9bc9a.zip |
Rewrite the whole IID usage
IRC users and channels are now distinguished by the separator used in the
IID (% or !).
ref #2468
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 5de471c..f1806de 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -131,6 +131,12 @@ public: const std::string& nick, const std::string& to); /** + * Send an error to indicate that the user tried to send a message to an + * invalid user. + */ + void send_invalid_user_error(const std::string& user_name, + const std::string& to); + /** * Send the MUC topic to the user */ void send_topic(const std::string& from, Xmpp::body&& xmpp_topic, const std::string& to); @@ -141,7 +147,7 @@ public: /** * Send an unavailable presence for this nick */ - void send_muc_leave(std::string&& muc_name, std::string&& nick, Xmpp::body&& message, const std::string& jid_to, const bool self); + void send_muc_leave(const std::string& muc_name, std::string&& nick, Xmpp::body&& message, const std::string& jid_to, const bool self); /** * Indicate that a participant changed his nick */ |