From 6a86834a82541fa462cec206fd21db0e4419a901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Br=C3=B6tzmann?= Date: Sat, 22 Jun 2019 11:56:48 +0200 Subject: [PATCH] [client_icons] Fix is_groupchat call --- clients_icons/clients_icons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index 10679e9..45de186 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -65,7 +65,7 @@ class ClientsIconsPlugin(GajimPlugin): @staticmethod def is_groupchat(contact): if hasattr(contact, 'is_groupchat'): - return contact.is_groupchat() + return contact.is_groupchat return False def add_tooltip_row(self, tooltip, contact, tooltip_grid): @@ -354,7 +354,7 @@ class ClientsIconsPlugin(GajimPlugin): if not self.config['show_in_roster']: return - if contact.is_groupchat(): + if contact.is_groupchat: return roster = app.interface.roster iters = roster._get_contact_iter(event.jid, event.conn.name, contact,