From 85cd5634ff5b5f787bb91712832b51c328fcbb31 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 17 Oct 2005 10:17:35 +0000 Subject: [PATCH] fix logic --- src/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 2864ca2c2..fb78132a0 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1576,8 +1576,8 @@ _('If "%s" accepts this request you will know his status.') %jid) if qs.has_key(jid): no_queue = False popup = False - if autopopupaway or (autopopup and gajim.connections[account].connected \ - in (2, 3)): + if autopopup and (autopopupaway or gajim.connections[account].connected \ + > 3): popup = True if msg_type == 'normal': # it's single message