Page MenuHomePhabricator

[lib] make `signedDeviceList` in `DEVICE_LIST_UPDATED` message optional
ClosedPublic

Authored by kamil on Jun 7 2024, 2:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 11:59 PM
Unknown Object (File)
Fri, Nov 1, 11:59 PM
Unknown Object (File)
Fri, Nov 1, 11:59 PM
Unknown Object (File)
Fri, Nov 1, 11:39 PM
Unknown Object (File)
Tue, Oct 22, 1:16 PM
Unknown Object (File)
Tue, Oct 22, 9:04 AM
Unknown Object (File)
Tue, Oct 22, 8:34 AM
Unknown Object (File)
Tue, Oct 22, 8:34 AM
Subscribers

Details

Summary

To standardize sending updates for all Identity auth (legacy/QR-code) we need to remove signedDeviceList. However, @bartek added additional check for broadcasted and Identity device list equality and we want to keep it for now.

Depends on D12330

Test Plan

Flow - functionality tested later in the stack.

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 7 2024, 2:39 AM
bartek added inline comments.
lib/handlers/peer-to-peer-message-handler.js
179–185 ↗(On Diff #41093)

Yeah it's good to leave this check for debugging device list updates. Finally, it will be a non-breaking change to remove signedDeviceList from the message type.

This revision is now accepted and ready to land.Jun 7 2024, 4:25 AM
lib/handlers/peer-to-peer-message-handler.js
179–185 ↗(On Diff #41093)

This console.log will eventually be removed, yeah?

lib/handlers/peer-to-peer-message-handler.js
179–185 ↗(On Diff #41093)

yes