summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-12-12 16:34:24 -0800
committerLance Stout <lancestout@gmail.com>2011-12-12 16:34:24 -0800
commit85e9042db6f8432c36af18d5b9e6d55187e1f26e (patch)
treec98abc477f53ece4a1efd5bd06eca1f5ec47d4db /sleekxmpp
parent62e6d6fb4c68c8db7ef0e0234674e1f24ce7857b (diff)
downloadslixmpp-85e9042db6f8432c36af18d5b9e6d55187e1f26e.tar.gz
slixmpp-85e9042db6f8432c36af18d5b9e6d55187e1f26e.tar.bz2
slixmpp-85e9042db6f8432c36af18d5b9e6d55187e1f26e.tar.xz
slixmpp-85e9042db6f8432c36af18d5b9e6d55187e1f26e.zip
Pass the Iq stanza to disco item handlers.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index 04c18a15..b08ce50d 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -579,7 +579,8 @@ class xep_0030(base_plugin):
jid = iq['to'].bare
items = self._run_node_handler('get_items',
jid,
- iq['disco_items']['node'])
+ iq['disco_items']['node'],
+ iq)
iq.reply()
if items:
iq.set_payload(items.xml)