[clients_icons] fix compat with 1.2
This commit is contained in:
@@ -66,8 +66,8 @@ class ClientsIconsPlugin(GajimPlugin):
|
|||||||
caps_cache.capscache).identities
|
caps_cache.capscache).identities
|
||||||
if identities:
|
if identities:
|
||||||
for entry in identities:
|
for entry in identities:
|
||||||
if entry['category'] == 'client':
|
if entry.category == 'client':
|
||||||
return entry.get('name')
|
return entry.name
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def is_groupchat(contact):
|
def is_groupchat(contact):
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Clients icons
|
name: Clients icons
|
||||||
short_name: clients_icons
|
short_name: clients_icons
|
||||||
version: 7.6
|
version: 7.7
|
||||||
description: Shows client icons in roster and in groupchats.
|
description: Shows client icons in roster and in groupchats.
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
Artem Klyop <art.klyop@gmail.com>
|
Artem Klyop <art.klyop@gmail.com>
|
||||||
|
|||||||
Reference in New Issue
Block a user