Handle KICK in irc channel, both ways

This commit is contained in:
Florent Le Coz
2013-11-13 01:24:36 +01:00
parent 3cfaab9a2d
commit 0859801230
6 changed files with 128 additions and 0 deletions
+9
View File
@@ -83,12 +83,21 @@ public:
* 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);
/**
* 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:
/**