Clients Icons. Fix facebook and vk.

This commit is contained in:
Denis Fomin
2012-01-05 23:12:01 +04:00
parent 22da148880
commit a5871871c7
2 changed files with 6 additions and 2 deletions

View File

@@ -179,8 +179,12 @@ class ClientsIconsPlugin(GajimPlugin):
return
if roster.model[child_iters[0]][self.renderer_num] is None:
caps = contact.client_caps._node
if jid == 'juick@juick.com':
if 'facebook.com' in jid:
caps = 'facebook.com'
elif jid == 'juick@juick.com':
caps = 'http://juick.com/caps'
elif '@vk.com' in jid:
caps = 'vk.com'
elif jid == 'psto@psto.net':
caps = 'psto@psto.net'
elif jid == 'rss@isida-bot.com':

View File

@@ -1,7 +1,7 @@
[info]
name: Clients icons
short_name: clients_icons
version: 1.5
version: 1.6
description: Shows the client icons in the roster
and in groupchats.
Depends: Gajim > r12506