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