fix logic: don't join don't try to join groupchat from an accoun twhen we connect with another account
This commit is contained in:
parent
0c2457c783
commit
f816dcf307
1 changed files with 2 additions and 0 deletions
|
@ -1006,6 +1006,8 @@ class Interface:
|
||||||
'''SIGNED_IN event is emitted when we sign in, so handle it'''
|
'''SIGNED_IN event is emitted when we sign in, so handle it'''
|
||||||
# join already open groupchats
|
# join already open groupchats
|
||||||
for gc_control in gajim.interface.msg_win_mgr.get_controls(message_control.TYPE_GC):
|
for gc_control in gajim.interface.msg_win_mgr.get_controls(message_control.TYPE_GC):
|
||||||
|
if account != gc_control.account:
|
||||||
|
continue
|
||||||
room_jid = gc_control.room_jid
|
room_jid = gc_control.room_jid
|
||||||
if gajim.gc_connected[account].has_key(room_jid) and\
|
if gajim.gc_connected[account].has_key(room_jid) and\
|
||||||
gajim.gc_connected[account][room_jid]:
|
gajim.gc_connected[account][room_jid]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue