auto open groupchat configuration window when we create a new room
This commit is contained in:
parent
c515f56613
commit
b60b488233
1 changed files with 3 additions and 0 deletions
|
@ -492,6 +492,9 @@ class GroupchatWindow(chat.Chat):
|
||||||
if not iter:
|
if not iter:
|
||||||
iter = self.add_contact_to_roster(room_jid, nick, show, role,
|
iter = self.add_contact_to_roster(room_jid, nick, show, role,
|
||||||
affiliation, status, jid)
|
affiliation, status, jid)
|
||||||
|
if statusCode == '201': # We just created the room
|
||||||
|
gajim.connections[self.account].request_gc_config(room_jid)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
actual_role = self.get_role(room_jid, nick)
|
actual_role = self.get_role(room_jid, nick)
|
||||||
if role != actual_role:
|
if role != actual_role:
|
||||||
|
|
Loading…
Add table
Reference in a new issue