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
+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();
}
}