From 85e9042db6f8432c36af18d5b9e6d55187e1f26e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 12 Dec 2011 16:34:24 -0800 Subject: Pass the Iq stanza to disco item handlers. --- sleekxmpp/plugins/xep_0030/disco.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3