Page MenuHomePhabricator

[lib] factor out broadcasting device list updates to hook
ClosedPublic

Authored by kamil on Jun 10 2024, 4:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 3, 6:48 AM
Unknown Object (File)
Mon, Mar 3, 6:48 AM
Unknown Object (File)
Fri, Feb 28, 2:09 AM
Unknown Object (File)
Feb 15 2025, 8:27 PM
Unknown Object (File)
Feb 6 2025, 11:45 AM
Unknown Object (File)
Feb 6 2025, 11:45 AM
Unknown Object (File)
Jan 24 2025, 9:33 PM
Unknown Object (File)
Jan 24 2025, 9:33 PM
Subscribers

Details

Summary

We want to reuse this code in more places, whenever disseminating device list updates.

Depends on D12347

Test Plan

Hook tested by calling function.
Secondary device auth not tested because of: ENG-8385.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jun 10 2024, 9:50 AM
This revision is now accepted and ready to land.Jun 12 2024, 5:43 AM
native/profile/secondary-device-qr-code-scanner.react.js
107–112 ↗(On Diff #41153)

We have fetchLatestDeviceList() in lib/shared/device-list-utils.js that does exactly this

native/profile/secondary-device-qr-code-scanner.react.js
107–112 ↗(On Diff #41153)

yeah but in this case we also need lastSignedDeviceList