Commit e1c9663e authored by Romain DEP.'s avatar Romain DEP.

[clients_icons] fix compat with 1.2

parent 65f2d221
......@@ -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):
......
[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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment