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
F3382995: D12373.diff
Thu, Nov 28, 1:00 PM
Unknown Object (File)
Mon, Nov 25, 1:38 AM
Unknown Object (File)
Wed, Nov 20, 2:40 PM
Unknown Object (File)
Wed, Nov 20, 2:40 PM
Unknown Object (File)
Sat, Nov 2, 12:06 AM
Unknown Object (File)
Sat, Nov 2, 12:06 AM
Unknown Object (File)
Sat, Nov 2, 12:06 AM
Unknown Object (File)
Fri, Nov 1, 11:42 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