mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
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')
|
x = ET.Element('{jabber:x:data}x', type='cancel')
|
||||||
query.append(x)
|
query.append(x)
|
||||||
iq = self.xmpp.makeIqSet(query)
|
iq = self.xmpp.makeIqSet(query)
|
||||||
|
iq['to'] = room
|
||||||
iq.send()
|
iq.send()
|
||||||
|
|
||||||
def setRoomConfig(self, room, config, ifrom=''):
|
def setRoomConfig(self, room, config, ifrom=''):
|
||||||
|
|
Loading…
Reference in a new issue