clients_icons. psto@psto.net support added
This commit is contained in:
@@ -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):
|
|||||||
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):
|
||||||
|
|||||||
BIN
clients_icons/icons/psto.png
Normal file
BIN
clients_icons/icons/psto.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 798 B |
@@ -1,7 +1,7 @@
|
|||||||
[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
|
||||||
|
|||||||
Reference in New Issue
Block a user