Page MenuHomePhabricator

[lib] Re-broadcast account deletion on own devices
ClosedPublic

Authored by bartek on Jul 30 2024, 5:54 AM.
Tags
None
Referenced Files
F2773277: D12945.id43105.diff
Fri, Sep 20, 1:58 AM
F2771635: D12945.diff
Thu, Sep 19, 11:48 PM
Unknown Object (File)
Mon, Sep 16, 7:39 AM
Unknown Object (File)
Sat, Sep 7, 11:06 AM
Unknown Object (File)
Sat, Sep 7, 11:04 AM
Unknown Object (File)
Fri, Sep 6, 11:52 PM
Unknown Object (File)
Fri, Sep 6, 11:52 PM
Unknown Object (File)
Sun, Sep 1, 10:37 AM
Subscribers

Details

Summary

Address ENG-8606.
When own device receives account deletion message, it re-broadcasts it again. However, it skips own devices to avoid vicious circle.

Depends on D12944

Test Plan

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.
  • Additionally, the peer device received it twice.
  • Both primary and secondary device were logged out

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Aug 1 2024, 2:02 AM
bartek added inline comments.
lib/tunnelbroker/use-peer-to-peer-message-handler.js
121 ↗(On Diff #42965)

Handled in the next diffs

This revision is now accepted and ready to land.Aug 5 2024, 4:45 AM