MUC: Fix a traceback on room configuration.

This commit is contained in:
Emmanuel Gil Peyrot 2016-09-21 23:44:13 +09:00
parent 5a55552b67
commit 661ee90ea2

View file

@ -190,7 +190,7 @@ def configure_room(xmpp, room, form):
iq['to'] = room
query = ET.Element('{http://jabber.org/protocol/muc#owner}query')
form['type'] = 'submit'
query.append(form)
query.append(form.xml)
iq.append(query)
iq.send()