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): ...@@ -190,7 +190,7 @@ def configure_room(xmpp, room, form):
iq['to'] = room iq['to'] = room
query = ET.Element('{}query') query = ET.Element('{}query')
form['type'] = 'submit' form['type'] = 'submit'
query.append(form) query.append(form.xml)
iq.append(query) iq.append(query)
iq.send() 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