HomePhabricator
Diffusion Comm 0e7b20072836

[lib] Broadcast account deletion message to peers

Description

[lib] Broadcast account deletion message to peers

Summary:
Address ENG-8605.

  • Created a hook to easily broadcast deletion message.

In useDeleteAccount hook, added a call to the hook before calling Identity.

Depends on D12943

Test Plan:
Tested together with D12945.
Deleted account when having device list with a secondary device and a peer in auxUserStore. Verified that both peer and my device received the ACCOUNT_DELETION message.

Reviewers: kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Jul 30 2024, 5:38 AM
Reviewer
kamil
Differential Revision
D12944: [lib] Broadcast account deletion message to peers
Parents
rCOMMe29e859ce627: [lib] Add account deletion P2P message type
Branches
Unknown
Tags
Unknown