don't autojoin all bookmarks when comming back from invisible

This commit is contained in:
Yann Leboulanger 2007-11-16 10:32:36 +00:00
parent 63d0bc54ec
commit 11e581fb8b
1 changed files with 2 additions and 0 deletions

View File

@ -3540,6 +3540,8 @@ class RosterWindow:
if was_invisible and status != 'offline':
# We come back from invisible, join bookmarks
for bm in gajim.connections[account].bookmarks:
if bm['autojoin'] not in ('1', 'true'):
continue
room_jid = bm['jid']
if room_jid in gajim.gc_connected[account] and \
gajim.gc_connected[account][room_jid]: