Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Brötzmann <mailtrash@posteo.de>2019-06-22 12:56:48 +0300
committerDaniel Brötzmann <mailtrash@posteo.de>2019-06-22 12:56:48 +0300
commit6a86834a82541fa462cec206fd21db0e4419a901 (patch)
treee876b7b2abae9ebf26e14748a79087008397e834 /clients_icons
parentfa1bfd5c344ebae377028c8c3fb980bd9079fd36 (diff)
[client_icons] Fix is_groupchat call
Diffstat (limited to 'clients_icons')
-rw-r--r--clients_icons/clients_icons.py4
1 files 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,