clients_icons. Fix for zeroconf.
This commit is contained in:
@@ -339,6 +339,10 @@ class ClientsIconsPlugin(GajimPlugin):
|
|||||||
if not contact:
|
if not contact:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if iq_obj.resource == 'local':
|
||||||
|
# zeroconf
|
||||||
|
return
|
||||||
|
|
||||||
iter_ = roster._get_contact_iter(iq_obj.jid, iq_obj.conn.name, contact,
|
iter_ = roster._get_contact_iter(iq_obj.jid, iq_obj.conn.name, contact,
|
||||||
roster.model)[0]
|
roster.model)[0]
|
||||||
if contact != iq_obj.contact:
|
if contact != iq_obj.contact:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Clients icons
|
name: Clients icons
|
||||||
short_name: clients_icons
|
short_name: clients_icons
|
||||||
version: 1.9
|
version: 1.91
|
||||||
description: Shows the client icons in the roster
|
description: Shows the client icons in the roster
|
||||||
and in groupchats.
|
and in groupchats.
|
||||||
authors = Denis Fomin <fominde@gmail.com>
|
authors = Denis Fomin <fominde@gmail.com>
|
||||||
|
|||||||
Reference in New Issue
Block a user