From 7e622ae5d1391ade5ef2e2e4010bde06c0a1115e Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 10 Jun 2021 15:43:28 +0200 Subject: [PATCH] plugin XEP-0054: fix call to JID serialisation method --- sat/plugins/plugin_xep_0054.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"