fix logic

This commit is contained in:
Yann Leboulanger 2005-10-17 10:17:35 +00:00
parent 9f22f5081d
commit 85cd5634ff
1 changed files with 2 additions and 2 deletions

View File

@ -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