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:
Yann Leboulanger 2006-01-17 11:05:05 +00:00
parent 0c2457c783
commit f816dcf307
1 changed files with 2 additions and 0 deletions

View File

@ -1006,6 +1006,8 @@ class Interface:
'''SIGNED_IN event is emitted when we sign in, so handle it'''
# join already open groupchats
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
if gajim.gc_connected[account].has_key(room_jid) and\
gajim.gc_connected[account][room_jid]: