diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-11-13 01:24:36 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-11-13 01:24:36 +0100 |
commit | 0859801230f999889d0f7356864888e8c5936cda (patch) | |
tree | 31b1eed96847157def5c22adb1a55abff6a3dae1 /src/xmpp/xmpp_component.hpp | |
parent | 3cfaab9a2debe03829b1ff26fe94e775e1d18e0a (diff) | |
download | biboumi-0859801230f999889d0f7356864888e8c5936cda.tar.gz biboumi-0859801230f999889d0f7356864888e8c5936cda.tar.bz2 biboumi-0859801230f999889d0f7356864888e8c5936cda.tar.xz biboumi-0859801230f999889d0f7356864888e8c5936cda.zip |
Handle KICK in irc channel, both ways
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 84b19a9..0c68497 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -84,11 +84,20 @@ public: */ 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); /** + * An user is kicked from a room + */ + void kick_user(const std::string& muc_name, + const std::string& target, + const std::string& reason, + const std::string& author, + const std::string& jid_to); + /** * Handle the various stanza types */ void handle_handshake(const Stanza& stanza); void handle_presence(const Stanza& stanza); void handle_message(const Stanza& stanza); + void handle_iq(const Stanza& stanza); private: /** |