Commit 71a989bb authored by Dicson's avatar Dicson

clients_icons. psto@psto.net support added

parent b6058387
...@@ -126,6 +126,7 @@ clients = { ...@@ -126,6 +126,7 @@ clients = {
'http://aspro.users.ru/historian-bot/': 'bot.png', 'http://aspro.users.ru/historian-bot/': 'bot.png',
'http://pigeon.vpro.ru/caps': 'pigeon.png', 'http://pigeon.vpro.ru/caps': 'pigeon.png',
'http://jtalk.ustyugov.net/caps': 'jtalk.png', 'http://jtalk.ustyugov.net/caps': 'jtalk.png',
'psto@psto.net': 'psto.png',
} }
...@@ -319,6 +320,8 @@ class ClientsIconsPlugin(GajimPlugin): ...@@ -319,6 +320,8 @@ class ClientsIconsPlugin(GajimPlugin):
caps = 'http://juick.com/caps' caps = 'http://juick.com/caps'
elif '@vk.com' in iq_obj.jid: elif '@vk.com' in iq_obj.jid:
caps = 'vk.com' caps = 'vk.com'
elif 'psto@psto.net' in iq_obj.jid:
caps = 'psto@psto.net'
self.set_icon(roster.model, iter_, self.renderer_num, caps) self.set_icon(roster.model, iter_, self.renderer_num, caps)
def gc_presence_received(self, iq_obj): def gc_presence_received(self, iq_obj):
......
[info] [info]
name: Clients icons name: Clients icons
short_name: clients_icons short_name: clients_icons
version: 1.2 version: 1.3
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment