xep_0045: fix the 'to' value when configuring room

This commit is contained in:
Florent Le Coz 2011-01-22 03:18:04 +08:00 committed by Lance Stout
parent 0c8a8314b2
commit b4004cd4d6

View file

@ -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=''):