Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2007-11-16 13:34:21 +0300
committerYann Leboulanger <asterix@lagaule.org>2007-11-16 13:34:21 +0300
commit157a2d0b8375afe64931e17372617e854569657f (patch)
treeb3ef8c8aa73074dc536297dbf94a48abda159d3d
parent9f111eec42e89c84b01e1ffaaf199bfa21ab5a49 (diff)
don't autojoin all bookmarks when coming back from invisible
-rw-r--r--src/roster_window.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roster_window.py b/src/roster_window.py
index 704efb908..29fb0cd5d 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -2841,6 +2841,8 @@ class RosterWindow:
if was_invisible:
# 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]: