diff --git a/sat/plugins/plugin_xep_0054.py b/sat/plugins/plugin_xep_0054.py index 29c0753e..4c85df12 100644 --- a/sat/plugins/plugin_xep_0054.py +++ b/sat/plugins/plugin_xep_0054.py @@ -439,7 +439,7 @@ class XEP_0054_handler(XMPPHandler): """Check that hash in cache (i.e. computed hash) is the same as given one""" # XXX: if they differ, the avatar will be requested on each connection # TODO: try to avoid re-requesting avatar in this case - computed_hash = client._xep_0054_avatar_hashes[entity.full] + computed_hash = client._xep_0054_avatar_hashes[entity.full()] if computed_hash != given_hash: log.warning( "computed hash differs from given hash for {entity}:\n"