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
Unknown Object (File)
Sat, Nov 9, 4:39 PM
Unknown Object (File)
Wed, Nov 6, 10:49 PM
Unknown Object (File)
Sat, Nov 2, 4:22 AM
Unknown Object (File)
Sat, Nov 2, 4:21 AM
Unknown Object (File)
Sat, Nov 2, 4:21 AM
Unknown Object (File)
Sat, Nov 2, 4:01 AM
Unknown Object (File)
Oct 19 2024, 8:24 AM
Unknown Object (File)
Oct 18 2024, 9:45 PM
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