plugin XEP-0373: fix serialisation of public_key_list

This commit is contained in:
Goffi 2024-03-05 17:31:36 +01:00
commit 0548f443ca

View file

@ -1218,7 +1218,10 @@ class XEP_0373:
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