join opened groupchat windows only for concerned account
This commit is contained in:
parent
28fe6a06d3
commit
20c4113666
1 changed files with 13 additions and 13 deletions
10
src/gajim.py
10
src/gajim.py
|
@ -958,19 +958,19 @@ class Interface:
|
||||||
# SIGNED_IN event is emitted when we sign in
|
# SIGNED_IN event is emitted when we sign in
|
||||||
|
|
||||||
# join already open groupchats
|
# join already open groupchats
|
||||||
for acct in gajim.connections:
|
print '\n\n\nsigned_in\n\n\n'
|
||||||
for room_jid in self.instances[acct]['gc']:
|
for room_jid in self.instances[account]['gc']:
|
||||||
if room_jid == 'tabbed':
|
if room_jid == 'tabbed':
|
||||||
continue
|
continue
|
||||||
if gajim.gc_connected[acct][room_jid]:
|
if gajim.gc_connected[account][room_jid]:
|
||||||
continue
|
continue
|
||||||
room, server = gajim.get_room_name_and_server_from_room_jid(
|
room, server = gajim.get_room_name_and_server_from_room_jid(
|
||||||
room_jid)
|
room_jid)
|
||||||
nick = self.instances[acct]['gc'][room_jid].nicks[room_jid]
|
nick = self.instances[account]['gc'][room_jid].nicks[room_jid]
|
||||||
password = ''
|
password = ''
|
||||||
if gajim.gc_passwords.has_key(room_jid):
|
if gajim.gc_passwords.has_key(room_jid):
|
||||||
password = gajim.gc_passwords[room_jid]
|
password = gajim.gc_passwords[room_jid]
|
||||||
gajim.connections[acct].join_gc(nick, room, server, password)
|
gajim.connections[account].join_gc(nick, room, server, password)
|
||||||
|
|
||||||
def read_sleepy(self):
|
def read_sleepy(self):
|
||||||
'''Check idle status and change that status if needed'''
|
'''Check idle status and change that status if needed'''
|
||||||
|
|
Loading…
Add table
Reference in a new issue