don't open autojoined groupchats when we go from invisible to offline

This commit is contained in:
Yann Leboulanger 2007-06-06 21:55:43 +00:00
parent 044feb0e1f
commit 7276ca50cf
1 changed files with 1 additions and 1 deletions

View File

@ -3282,7 +3282,7 @@ class RosterWindow:
# tab is opened, send initial join_gc()
gajim.connections[account].join_gc(gc_control.nick,
gc_control.room_jid, None)
if was_invisible:
if was_invisible and status != 'offline':
# We come back from invisible, join bookmarks
for bm in gajim.connections[account].bookmarks:
room_jid = bm['jid']