diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index 918d92b..e39e2cb 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -345,6 +345,11 @@ class ClientsIconsPlugin(GajimPlugin): iter_ = roster._get_contact_iter(iq_obj.jid, iq_obj.conn.name, contact, roster.model)[0] + + if contact.show == 'error': + self.set_icon(roster.model, iter_, self.renderer_num, None) + return + if contact != iq_obj.contact: # higest contact changed if roster.model[iter_][self.renderer_num] is not None: diff --git a/clients_icons/manifest.ini b/clients_icons/manifest.ini index cc935d6..0a19257 100644 --- a/clients_icons/manifest.ini +++ b/clients_icons/manifest.ini @@ -1,7 +1,7 @@ [info] name: Clients icons short_name: clients_icons -version: 2 +version: 2.1 description: Shows the client icons in the roster and in groupchats. authors = Denis Fomin