summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorRobert Robinson <rerobins@gmail.com>2015-07-15 20:52:06 -0600
committerRobert Robinson <rerobins@gmail.com>2015-07-15 20:52:06 -0600
commitbe14f0cc52a748134e2f1e77a4d10b11e8ff8b25 (patch)
tree42c405ca6699a9cfbe6b6edfd926f0ee26dcbf2b /sleekxmpp
parentbb094cc6498838cece046d9ed74881232fb5010d (diff)
downloadslixmpp-be14f0cc52a748134e2f1e77a4d10b11e8ff8b25.tar.gz
slixmpp-be14f0cc52a748134e2f1e77a4d10b11e8ff8b25.tar.bz2
slixmpp-be14f0cc52a748134e2f1e77a4d10b11e8ff8b25.tar.xz
slixmpp-be14f0cc52a748134e2f1e77a4d10b11e8ff8b25.zip
XEP_0050: Form not iterable in command
Cannot pass in a form into the initial command and have it show up in the payload of the session. Line 344 makes this possible when following the standard workflow.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/plugins/xep_0050/adhoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0050/adhoc.py b/sleekxmpp/plugins/xep_0050/adhoc.py
index e5594c3f..5f4ea94c 100644
--- a/sleekxmpp/plugins/xep_0050/adhoc.py
+++ b/sleekxmpp/plugins/xep_0050/adhoc.py
@@ -101,7 +101,7 @@ class XEP_0050(BasePlugin):
self._handle_command))
register_stanza_plugin(Iq, Command)
- register_stanza_plugin(Command, Form)
+ register_stanza_plugin(Command, Form, iterable=True)
self.xmpp.add_event_handler('command_execute',
self._handle_command_start,