From a31a972ea9fc9f0fad101c28597341ed7d10dd3f Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Wed, 20 Oct 2010 13:18:19 +0400 Subject: [PATCH] clients_icons. icon for juick --- clients_icons/clients_icons.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index ffab5b5..625312b 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -77,6 +77,7 @@ clients = { 'http://telepathy.freedesktop.org/caps': 'telepathy.freedesktop.org.png', 'http://www.adiumx.com/caps': 'adium.png', 'http://www.adiumx.com': 'adium.png', + 'http://juick.com/caps': 'juick.png', } class ClientsIconsPlugin(GajimPlugin): @@ -201,6 +202,8 @@ class ClientsIconsPlugin(GajimPlugin): tag = iq_obj.stanza.getTags('c') if tag: caps = tag[0].getAttr('node') + if not caps and iq_obj.jid == 'juick@juick.com': + caps = 'http://juick.com/caps' self.set_icon(roster.model, iter_, self.renderer_num, caps) def gc_presence_received(self, iq_obj):