summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-11-11 00:24:34 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-11-11 00:24:34 +0100
commit096a4e3bafe6e2d238e4592f57f22f19f363fcbd (patch)
tree621047f639559200903ec08683dcdfa1bc363615 /src/xmpp/xmpp_component.hpp
parentf0d9273da61ce154dbe460cf58c98de851d30615 (diff)
downloadbiboumi-096a4e3bafe6e2d238e4592f57f22f19f363fcbd.tar.gz
biboumi-096a4e3bafe6e2d238e4592f57f22f19f363fcbd.tar.bz2
biboumi-096a4e3bafe6e2d238e4592f57f22f19f363fcbd.tar.xz
biboumi-096a4e3bafe6e2d238e4592f57f22f19f363fcbd.zip
Handle nick changes, both ways
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r--src/xmpp/xmpp_component.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp
index a5127a9..84b19a9 100644
--- a/src/xmpp/xmpp_component.hpp
+++ b/src/xmpp/xmpp_component.hpp
@@ -80,6 +80,10 @@ public:
*/
void send_muc_leave(std::string&& muc_name, std::string&& nick, std::string&& message, const std::string& jid_to, const bool self);
/**
+ * Indicate that a participant changed his nick
+ */
+ void send_nick_change(const std::string& muc_name, const std::string& old_nick, const std::string& new_nick, const std::string& jid_to, const bool self);
+ /**
* Handle the various stanza types
*/
void handle_handshake(const Stanza& stanza);