Clients Icons. Fix facebook and vk.
This commit is contained in:
@@ -179,8 +179,12 @@ class ClientsIconsPlugin(GajimPlugin):
|
|||||||
return
|
return
|
||||||
if roster.model[child_iters[0]][self.renderer_num] is None:
|
if roster.model[child_iters[0]][self.renderer_num] is None:
|
||||||
caps = contact.client_caps._node
|
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'
|
caps = 'http://juick.com/caps'
|
||||||
|
elif '@vk.com' in jid:
|
||||||
|
caps = 'vk.com'
|
||||||
elif jid == 'psto@psto.net':
|
elif jid == 'psto@psto.net':
|
||||||
caps = 'psto@psto.net'
|
caps = 'psto@psto.net'
|
||||||
elif jid == 'rss@isida-bot.com':
|
elif jid == 'rss@isida-bot.com':
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Clients icons
|
name: Clients icons
|
||||||
short_name: clients_icons
|
short_name: clients_icons
|
||||||
version: 1.5
|
version: 1.6
|
||||||
description: Shows the client icons in the roster
|
description: Shows the client icons in the roster
|
||||||
and in groupchats.
|
and in groupchats.
|
||||||
Depends: Gajim > r12506
|
Depends: Gajim > r12506
|
||||||
|
|||||||
Reference in New Issue
Block a user