From e2430062f1c8b37b1516697e97bafc0661d745da Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 17 Oct 2006 21:40:48 +0000 Subject: [PATCH] add missing () in a test. fices #2589 --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index baa106cb7..66a4a096c 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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: