xep_0045: fix the 'to' value when configuring room
This commit is contained in:
parent
0c8a8314b2
commit
b4004cd4d6
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue