Commit d86d5588 authored by Yann Leboulanger's avatar Yann Leboulanger

prevent traceback. Fixes #5202

parent d3b4cc23
......@@ -1742,6 +1742,8 @@ class Connection(ConnectionHandlers):
self.connection.send(iq)
def send_gc_config(self, room_jid, form):
if not self.connection:
return
iq = common.xmpp.Iq(typ = 'set', to = room_jid, queryNS =\
common.xmpp.NS_MUC_OWNER)
query = iq.getTag('query')
......
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