add missing () in a test. fices #2589
This commit is contained in:
parent
d90e907651
commit
e2430062f1
|
@ -395,7 +395,7 @@ class RosterWindow:
|
||||||
show_offline = gajim.config.get('showoffline')
|
show_offline = gajim.config.get('showoffline')
|
||||||
show_transports = gajim.config.get('show_transports_group')
|
show_transports = gajim.config.get('show_transports_group')
|
||||||
if (_('Transports') in contact.groups and not show_transports) or \
|
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 \
|
(not _('Transports') in contact.groups or \
|
||||||
gajim.account_is_disconnected(account))) and \
|
gajim.account_is_disconnected(account))) and \
|
||||||
len(gajim.events.get_events(account, contact.jid, ['chat'])) == 0:
|
len(gajim.events.get_events(account, contact.jid, ['chat'])) == 0:
|
||||||
|
|
Loading…
Reference in New Issue