diff options
author | louiz’ <louiz@louiz.org> | 2016-12-18 17:21:15 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-12-18 17:21:15 +0100 |
commit | e397fc837e00cff58081810c8b54cb741299d993 (patch) | |
tree | f9972ef543437187d35bc872e3e076b3782f717b /src/xmpp/biboumi_component.cpp | |
parent | 36a9eb0e000612e159b1550828bbcd446cd8b11b (diff) | |
download | biboumi-e397fc837e00cff58081810c8b54cb741299d993.tar.gz biboumi-e397fc837e00cff58081810c8b54cb741299d993.tar.bz2 biboumi-e397fc837e00cff58081810c8b54cb741299d993.tar.xz biboumi-e397fc837e00cff58081810c8b54cb741299d993.zip |
Send iq error/result when the user changed a MODE command with an iq
And add tests for all the mode changes
Diffstat (limited to 'src/xmpp/biboumi_component.cpp')
-rw-r--r-- | src/xmpp/biboumi_component.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp index 985b252..6971538 100644 --- a/src/xmpp/biboumi_component.cpp +++ b/src/xmpp/biboumi_component.cpp @@ -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(); } } |