HomePhabricator
Diffusion Comm 539ed8b32c7e

[keyserver] Determine which infos to send based on specs

Description

[keyserver] Determine which infos to send based on specs

Summary:
Define a new prop in a spec where we describe which keys are used when sending delete or new infos. The only complicated state to sync is userInfos because it contains an additional delete condition - when a user no longer has a name.

https://linear.app/comm/issue/ENG-4631/migrate-checkstate-from-session-utils-to-a-spec

Depends on D8979

Test Plan: Modify keyserver db and check if the store get fixed (including editing, inserting and deleting infos).

Reviewers: kamil, bartek, inka

Reviewed By: bartek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D9008

Details

Provenance
tomekAuthored on Aug 29 2023, 4:59 AM
Reviewer
bartek
Differential Revision
D9008: [keyserver] Determine which infos to send based on specs
Parents
rCOMM9f679f8667b0: [keyserver] Determine which infos have invalid hashes based on specs
Branches
Unknown
Tags
Unknown