Commit 6a86834a authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

[client_icons] Fix is_groupchat call

parent fa1bfd5c
......@@ -65,7 +65,7 @@ class ClientsIconsPlugin(GajimPlugin):
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']:
if contact.is_groupchat():
if contact.is_groupchat:
roster = app.interface.roster
iters = roster._get_contact_iter(event.jid,, contact,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment