clients_icons. Fix for zeroconf.

This commit is contained in:
Denis Fomin
2012-07-12 23:40:30 +04:00
parent 7490041181
commit 9c21673a7f
2 changed files with 5 additions and 1 deletions

View File

@@ -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: