From 11e581fb8b6048da96a4d71c12b3dc8b8c42701e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 16 Nov 2007 10:32:36 +0000 Subject: [PATCH] don't autojoin all bookmarks when comming back from invisible --- src/roster_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 9a3114a39..eabd8f1fb 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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]: