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
F3362146: D12347.id41093.diff
Sun, Nov 24, 9:39 PM
F3362074: D12347.id41294.diff
Sun, Nov 24, 9:17 PM
F3361879: D12347.diff
Sun, Nov 24, 7:59 PM
Unknown Object (File)
Fri, Nov 22, 12:26 PM
Unknown Object (File)
Wed, Nov 20, 2:40 PM
Unknown Object (File)
Wed, Nov 20, 2:40 PM
Unknown Object (File)
Mon, Nov 11, 7:48 PM
Unknown Object (File)
Sun, Nov 10, 4:06 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