diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-22 03:18:04 +0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-01-27 09:34:32 +0800 |
commit | b4004cd4d677d6e6c0504d38f7ef0c18db23c71d (patch) | |
tree | 70b347f648ba7814058abdc7c12df0e51d9eb8d5 /sleekxmpp/plugins/xep_0045.py | |
parent | 0c8a8314b2e70d4a82b1c199b7e5bc16b494e275 (diff) | |
download | slixmpp-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/xep_0045.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0045.py | 1 |
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=''): |