[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):
|
||||
|
||||
Reference in New Issue
Block a user