xep_0045: fix the 'to' value when configuring room
This commit is contained in:
parent
0c8a8314b2
commit
b4004cd4d6
@ -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=''):
|
||||
|
Loading…
Reference in New Issue
Block a user