Disco the room after it has been created
This commit is contained in:
parent
d01dc442c8
commit
b5414e3849
1 changed files with 2 additions and 0 deletions
|
@ -1818,6 +1818,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
# app.py)
|
# app.py)
|
||||||
self.print_conversation(_('Room logging is enabled'))
|
self.print_conversation(_('Room logging is enabled'))
|
||||||
if '201' in obj.status_code:
|
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'))
|
self.print_conversation(_('A new room has been created'))
|
||||||
if '210' in obj.status_code:
|
if '210' in obj.status_code:
|
||||||
self.print_conversation(\
|
self.print_conversation(\
|
||||||
|
|
Loading…
Add table
Reference in a new issue