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