Skip to content
Snippets Groups Projects
Commit 756a5034 authored by Dicson's avatar Dicson
Browse files

clients_icons. fix a bug with self contacts

parent 9182910d
No related branches found
No related tags found
No related merge requests found
......@@ -193,9 +193,10 @@ class ClientsIconsPlugin(GajimPlugin):
roster.model)[0]
if contact != iq_obj.contact:
# higest contact changed
caps = contact.client_caps._node
self.set_icon(roster.model, iter_, self.renderer_num, caps)
return
if roster.model[iter_][self.renderer_num] is not None:
caps = contact.client_caps._node
self.set_icon(roster.model, iter_, self.renderer_num, caps)
return
caps = None
tag = iq_obj.stanza.getTags('c')
if tag:
......
[info]
name: Clients icons
short_name: clients_icons
version: 0.2
version: 0.3
description: Shows the client icons in the roster
and in groupchats.
authors = Denis Fomin <fominde@gmail.com>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment