[clients_icons] fix compat with 1.2

This commit is contained in:
Romain DEP.
2019-08-12 05:38:01 +02:00
parent 65f2d22188
commit e1c9663e3e
2 changed files with 3 additions and 3 deletions

View File

@@ -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):

View File

@@ -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>