Send iq error/result when the user changed a MODE command with an iq

And add tests for all the mode changes
This commit is contained in:
louiz’
2016-12-18 17:21:15 +01:00
parent 36a9eb0e00
commit e397fc837e
4 changed files with 138 additions and 6 deletions
+2 -2
View File
@@ -103,8 +103,8 @@ public:
bool send_matching_channel_list(const ChannelList& channel_list,
const ResultSetInfo& rs_info, const std::string& id, const std::string& to_jid,
const std::string& from);
void forward_affiliation_role_change(const Iid& iid, const std::string& nick,
const std::string& affiliation, const std::string& role);
void forward_affiliation_role_change(const Iid& iid, const std::string& from, const std::string& nick,
const std::string& affiliation, const std::string& role, const std::string& id);
/**
* Directly send a CTCP PING request to the IRC user
*/