HomePhabricator
Diffusion Comm df0ead45ef88

[lib] Delete auxUserStore users on authoritative keyserver request

Description

[lib] Delete auxUserStore users on authoritative keyserver request

Summary:
When a user deletes account, authoritative keyserver sends updates to known peers, which in user-reducer are processed and the user is deleted from their userStores.
We want the same for auxUserStore, when a peer deletes their account.

When relying on authoritative keyserver, we can simply copy the action to auxUserStore.
Scenario with relyingOnAuthoritativeKeyserve = false is handled in the next diff

Depends on D12945

Test Plan:

  • Register two users and make sure they know about each other (have entries in user stores)
  • Delete account for one user
  • Make sure it gets removed from the other user's userStore and auxUserStore

Reviewers: inka, kamil, tomek

Reviewed By: inka, kamil

Subscribers: ashoat

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

Details

Provenance
bartekAuthored on Aug 2 2024, 10:38 AM
Reviewer
inka
Differential Revision
D12961: [lib] Delete auxUserStore users on authoritative keyserver request
Parents
rCOMMe939fed93850: [lib] Re-broadcast account deletion on own devices
Branches
Unknown
Tags
Unknown