Page MenuHomePhabricator

[lib][p2p] Update device list upon receiving logout message
ClosedPublic

Authored by bartek on May 28 2024, 4:28 AM.
Tags
None
Referenced Files
F3346997: D12225.diff
Fri, Nov 22, 10:40 AM
Unknown Object (File)
Mon, Nov 11, 8:42 AM
Unknown Object (File)
Mon, Nov 11, 7:49 AM
Unknown Object (File)
Mon, Nov 11, 5:31 AM
Unknown Object (File)
Sun, Nov 10, 10:07 PM
Unknown Object (File)
Sat, Nov 2, 12:36 AM
Unknown Object (File)
Sat, Nov 2, 12:35 AM
Unknown Object (File)
Sat, Nov 2, 12:34 AM
Subscribers

Details

Summary

Updated p2p message handler to remove device from device list upon receiving logout message

Depends on D12224

Test Plan

In addition to test plan from D12224:

  • Verified Identity Service logs to see that update_device_list is called
  • Verified that DDB contains updated device list without secondary device ID (being a sender of the message handled here)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek retitled this revision from [DRAFT] Update device list upon receiving logout message to [lib][p2p] Update device list upon receiving logout message.May 29 2024, 9:58 AM
bartek edited the test plan for this revision. (Show Details)
bartek published this revision for review.May 29 2024, 10:16 AM
bartek added inline comments.
lib/handlers/peer-to-peer-message-handler.js
127

This will be handled by ENG-7837. I don't want to copy-paste code from native/secondary-device-qr-code-scanner.js which is about to be changed as a result of tasks from the linked project

This revision is now accepted and ready to land.Jun 6 2024, 12:55 AM