Commit be96422a authored by Philipp Hörist's avatar Philipp Hörist

Disco the room after it has been created

parent 527762f7
......@@ -1818,6 +1818,8 @@ class GroupchatControl(ChatControlBase):
# app.py)
self.print_conversation(_('Room logging is enabled'))
if '201' in obj.status_code:
app.connections[self.account].get_module('Discovery').disco_muc(
self.room_jid, self.update_actions, update=True)
self.print_conversation(_('A new room has been created'))
if '210' in obj.status_code:
self.print_conversation(\
......
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