From b4004cd4d677d6e6c0504d38f7ef0c18db23c71d Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sat, 22 Jan 2011 03:18:04 +0800 Subject: [PATCH] xep_0045: fix the 'to' value when configuring room --- sleekxmpp/plugins/xep_0045.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py index feec70d..364fbbd 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=''):