[client_icons] Adapt to Gajim changes

This commit is contained in:
lovetox
2020-09-19 17:38:07 +02:00
parent be9f47d39f
commit 65746e9d1a

View File

@@ -62,7 +62,8 @@ class ClientsIconsPlugin(GajimPlugin):
return identity.name
def _get_image_and_client_name(self, contact, widget):
disco_info = app.logger.get_last_disco_info(contact.get_full_jid())
disco_info = app.storage.cache.get_last_disco_info(
contact.get_full_jid())
if disco_info is None:
return None