summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-22 03:18:04 +0800
committerLance Stout <lancestout@gmail.com>2011-01-27 09:34:32 +0800
commitb4004cd4d677d6e6c0504d38f7ef0c18db23c71d (patch)
tree70b347f648ba7814058abdc7c12df0e51d9eb8d5 /sleekxmpp/plugins
parent0c8a8314b2e70d4a82b1c199b7e5bc16b494e275 (diff)
downloadslixmpp-b4004cd4d677d6e6c0504d38f7ef0c18db23c71d.tar.gz
slixmpp-b4004cd4d677d6e6c0504d38f7ef0c18db23c71d.tar.bz2
slixmpp-b4004cd4d677d6e6c0504d38f7ef0c18db23c71d.tar.xz
slixmpp-b4004cd4d677d6e6c0504d38f7ef0c18db23c71d.zip
xep_0045: fix the 'to' value when configuring room
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0045.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py
index feec70db..364fbbd9 100644
--- a/sleekxmpp/plugins/xep_0045.py
+++ b/sleekxmpp/plugins/xep_0045.py
@@ -316,6 +316,7 @@ class xep_0045(base.base_plugin):
x = ET.Element('{jabber:x:data}x', type='cancel')
query.append(x)
iq = self.xmpp.makeIqSet(query)
+ iq['to'] = room
iq.send()
def setRoomConfig(self, room, config, ifrom=''):