From 9c21673a7f90aa2ab8b1290f891e2aa7aa6ac2ca Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 12 Jul 2012 23:40:30 +0400 Subject: [PATCH] clients_icons. Fix for zeroconf. --- clients_icons/clients_icons.py | 4 ++++ clients_icons/manifest.ini | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index 3116e89..918d92b 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -339,6 +339,10 @@ class ClientsIconsPlugin(GajimPlugin): if not contact: return + if iq_obj.resource == 'local': + # zeroconf + return + iter_ = roster._get_contact_iter(iq_obj.jid, iq_obj.conn.name, contact, roster.model)[0] if contact != iq_obj.contact: diff --git a/clients_icons/manifest.ini b/clients_icons/manifest.ini index 95c59f4..922c5b7 100644 --- a/clients_icons/manifest.ini +++ b/clients_icons/manifest.ini @@ -1,7 +1,7 @@ [info] name: Clients icons short_name: clients_icons -version: 1.9 +version: 1.91 description: Shows the client icons in the roster and in groupchats. authors = Denis Fomin