summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-07-20 13:23:35 -0400
committerLance Stout <lancestout@gmail.com>2010-07-20 13:23:35 -0400
commit75afefb5c66c7d8a5ba7fa7bdcc3f87e69936ec5 (patch)
tree62c80d1dd419f8cd03dae9b965d2a1f9441d0999
parentb67b930596bfb0748b67bde02d37f2277d8c9576 (diff)
downloadslixmpp-75afefb5c66c7d8a5ba7fa7bdcc3f87e69936ec5.tar.gz
slixmpp-75afefb5c66c7d8a5ba7fa7bdcc3f87e69936ec5.tar.bz2
slixmpp-75afefb5c66c7d8a5ba7fa7bdcc3f87e69936ec5.tar.xz
slixmpp-75afefb5c66c7d8a5ba7fa7bdcc3f87e69936ec5.zip
Upated xep_0045 to use old_0004 for now.
-rw-r--r--sleekxmpp/plugins/xep_0045.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py
index cd1a9a09..1892eeab 100644
--- a/sleekxmpp/plugins/xep_0045.py
+++ b/sleekxmpp/plugins/xep_0045.py
@@ -154,13 +154,13 @@ class xep_0045(base.base_plugin):
return False
xform = result.xml.find('{http://jabber.org/protocol/muc#owner}query/{jabber:x:data}x')
if xform is None: return False
- form = self.xmpp.plugin['xep_0004'].buildForm(xform)
+ form = self.xmpp.plugin['old_0004'].buildForm(xform)
return form
def configureRoom(self, room, form=None, ifrom=None):
if form is None:
form = self.getRoomForm(room, ifrom=ifrom)
- #form = self.xmpp.plugin['xep_0004'].makeForm(ftype='submit')
+ #form = self.xmpp.plugin['old_0004'].makeForm(ftype='submit')
#form.addField('FORM_TYPE', value='http://jabber.org/protocol/muc#roomconfig')
iq = self.xmpp.makeIqSet()
iq['to'] = room
@@ -262,7 +262,7 @@ class xep_0045(base.base_plugin):
form = result.xml.find('{http://jabber.org/protocol/muc#owner}query/{jabber:x:data}x')
if form is None:
raise ValueError
- return self.xmpp.plugin['xep_0004'].buildForm(form)
+ return self.xmpp.plugin['old_0004'].buildForm(form)
def cancelConfig(self, room):
query = ET.Element('{http://jabber.org/protocol/muc#owner}query')