add missing () in a test. fices #2589

This commit is contained in:
Yann Leboulanger 2006-10-17 21:40:48 +00:00
parent d90e907651
commit e2430062f1
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ class RosterWindow:
show_offline = gajim.config.get('showoffline')
show_transports = gajim.config.get('show_transports_group')
if (_('Transports') in contact.groups and not show_transports) or \
(contact.show in ('offline', 'error') or hide and not show_offline and \
((contact.show in ('offline', 'error') or hide) and not show_offline and \
(not _('Transports') in contact.groups or \
gajim.account_is_disconnected(account))) and \
len(gajim.events.get_events(account, contact.jid, ['chat'])) == 0: