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, Oct 19, 8:24 AM
Unknown Object (File)
Fri, Oct 18, 9:45 PM
Unknown Object (File)
Fri, Oct 18, 9:45 PM
Unknown Object (File)
Sun, Oct 6, 8:43 PM
Unknown Object (File)
Sep 20 2024, 2:34 AM
Unknown Object (File)
Sep 20 2024, 1:58 AM
Unknown Object (File)
Sep 19 2024, 11:48 PM
Unknown Object (File)
Sep 16 2024, 7:39 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