Mercurial > libervia-backend
diff libervia/backend/plugins/plugin_xep_0373.py @ 4217:b53b6dc1f929
plugin XEP-0373: fix serialisation of `public_key_list`
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 05 Mar 2024 17:31:36 +0100 |
parents | 5f2d496c633f |
children | 0d7bb4df2343 |
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0373.py Tue Mar 05 17:31:12 2024 +0100 +++ b/libervia/backend/plugins/plugin_xep_0373.py Tue Mar 05 17:31:36 2024 +0100 @@ -1218,7 +1218,10 @@ await self.publish_public_keys_list(client, public_keys_list) - await self.__storage[client.profile].force(storage_key, public_keys_list) + await self.__storage[client.profile].force( + storage_key, + [pkm.to_dict() for pkm in public_keys_list] + ) return secret_key