[jim++] fix logic for ft popup. fixes #1393

This commit is contained in:
Nikos Kouremenos 2006-03-20 17:25:45 +00:00
parent 5ce9bf3f49
commit 1f43ebfeb3
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ def get_name_from_jid(account, jid):
def popup_window(account):
autopopup = config.get('autopopup')
autopopupaway = config.get('autopopupaway')
if autopopup and (autopopupaway or connections[account].connected > 3):
if autopopup and (autopopupaway or connections[account].connected in (2, 3)):
return True
return False