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’ committed 2016-12-18 17:21:15 +01:00
1 parent 36a9eb0e00
commit e397fc837e
4 files changed
+138 -6

No files matched your search

+1 -1
View File
@@ -352,7 +352,7 @@ void BiboumiComponent::handle_iq(const Stanza& stanza)
bridge->send_irc_kick(iid, nick, reason, id, from);
}
else
bridge->forward_affiliation_role_change(iid, nick, affiliation, role);
bridge->forward_affiliation_role_change(iid, from, nick, affiliation, role, id);
stanza_error.disable();
}
}