diff options
author | louiz’ <louiz@louiz.org> | 2017-12-27 19:36:36 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-12-27 19:36:36 +0100 |
commit | 8409e50c1a28cc87799a8d9c67a90abf250ff6d5 (patch) | |
tree | 0e5d36b4b76a06cdadc0616950943385c7a816f8 | |
parent | 2d9f516d1d36bbdd4b114dd3652bbeaebd2fa379 (diff) | |
download | biboumi-8409e50c1a28cc87799a8d9c67a90abf250ff6d5.tar.gz biboumi-8409e50c1a28cc87799a8d9c67a90abf250ff6d5.tar.bz2 biboumi-8409e50c1a28cc87799a8d9c67a90abf250ff6d5.tar.xz biboumi-8409e50c1a28cc87799a8d9c67a90abf250ff6d5.zip |
Fix a subtle iid parsing error in the adhoc code
-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 e6eca3b..8775869 100644 --- a/src/xmpp/biboumi_component.cpp +++ b/src/xmpp/biboumi_component.cpp @@ -436,7 +436,7 @@ void BiboumiComponent::handle_iq(const Stanza& stanza) // Depending on the 'to' jid in the request, we use one adhoc // command handler or an other - Iid iid(to.local, {}); + Iid iid(to.local, {'#', '&'}); AdhocCommandsHandler* adhoc_handler; if (to.local.empty()) adhoc_handler = &this->adhoc_commands_handler; |