auto open groupchat configuration window when we create a new room

This commit is contained in:
Yann Leboulanger 2006-01-07 14:19:25 +00:00
parent c515f56613
commit b60b488233
1 changed files with 3 additions and 0 deletions

View File

@ -492,6 +492,9 @@ class GroupchatWindow(chat.Chat):
if not iter:
iter = self.add_contact_to_roster(room_jid, nick, show, role,
affiliation, status, jid)
if statusCode == '201': # We just created the room
gajim.connections[self.account].request_gc_config(room_jid)
else:
actual_role = self.get_role(room_jid, nick)
if role != actual_role: