Mercurial > libervia-backend
changeset 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 | 1a7a3e4b52a4 |
children | c0f3f29377f1 |
files | libervia/backend/plugins/plugin_xep_0373.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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