summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0050.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-07-20 12:27:22 -0400
committerLance Stout <lancestout@gmail.com>2010-07-20 12:27:22 -0400
commitb67b930596bfb0748b67bde02d37f2277d8c9576 (patch)
tree00769c56051c147e04da685d4c5e6a90e5d1fc1b /sleekxmpp/plugins/xep_0050.py
parent5c9b47afbdb79229d66378f9b9e1a601a3d58327 (diff)
downloadslixmpp-b67b930596bfb0748b67bde02d37f2277d8c9576.tar.gz
slixmpp-b67b930596bfb0748b67bde02d37f2277d8c9576.tar.bz2
slixmpp-b67b930596bfb0748b67bde02d37f2277d8c9576.tar.xz
slixmpp-b67b930596bfb0748b67bde02d37f2277d8c9576.zip
Updated xep_0050 to use old_0004 for now.
Diffstat (limited to 'sleekxmpp/plugins/xep_0050.py')
-rw-r--r--sleekxmpp/plugins/xep_0050.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0050.py b/sleekxmpp/plugins/xep_0050.py
index 319401b4..4ff42859 100644
--- a/sleekxmpp/plugins/xep_0050.py
+++ b/sleekxmpp/plugins/xep_0050.py
@@ -71,7 +71,7 @@ class xep_0050(base.base_plugin):
in_command = xml.find('{http://jabber.org/protocol/commands}command')
sessionid = in_command.get('sessionid', None)
pointer = self.sessions[sessionid]['next']
- results = self.xmpp.plugin['xep_0004'].makeForm('result')
+ results = self.xmpp.plugin['old_0004'].makeForm('result')
results.fromXML(in_command.find('{jabber:x:data}x'))
pointer(results,sessionid)
self.xmpp.send(self.makeCommand(xml.attrib['from'], in_command.attrib['node'], form=None, id=xml.attrib['id'], sessionid=sessionid, status='completed', actions=[]))
@@ -82,7 +82,7 @@ class xep_0050(base.base_plugin):
in_command = xml.find('{http://jabber.org/protocol/commands}command')
sessionid = in_command.get('sessionid', None)
pointer = self.sessions[sessionid]['next']
- results = self.xmpp.plugin['xep_0004'].makeForm('result')
+ results = self.xmpp.plugin['old_0004'].makeForm('result')
results.fromXML(in_command.find('{jabber:x:data}x'))
form, npointer, next = pointer(results,sessionid)
self.sessions[sessionid]['next'] = npointer