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, 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
Unknown Object (File)
Oct 22 2024, 1:15 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
Branch
peer-list-3
Lint
No Lint Coverage
Unit
No Test Coverage

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

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

yeah but in this case we also need lastSignedDeviceList