Commit 661ee90e authored by Link Mauve's avatar Link Mauve

MUC: Fix a traceback on room configuration.

parent 5a55552b
......@@ -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()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment