# HG changeset patch # User Goffi # Date 1623332608 -7200 # Node ID 413e96caa682eeeea7e6095adf082518c58e0852 # Parent c8d980d694a73b7931dc7b20f0780138e501028d plugin XEP-0054: fix call to JID serialisation method diff -r c8d980d694a7 -r 413e96caa682 sat/plugins/plugin_xep_0054.py --- a/sat/plugins/plugin_xep_0054.py Wed Jun 09 18:39:13 2021 +0200 +++ b/sat/plugins/plugin_xep_0054.py Thu Jun 10 15:43:28 2021 +0200 @@ -439,7 +439,7 @@ """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"