we plan to reuse this message for both primary device logout and logging out a single secondary device from the primary device.
Depends on D13037
Differential D13038
[lib] rename PrimaryDeviceLogout -> DeviceLogout varun on Aug 9 2024, 1:01 PM. Authored by Tags None Referenced Files
Details we plan to reuse this message for both primary device logout and logging out a single secondary device from the primary device. Depends on D13037 Rename so just ran flow
Diff Detail
Event TimelineComment Actions Just two questions, will let @bartek accept as I don't have context on this decision. Would appreciate answer to two questions:
Comment Actions This message is sent by the primary device to inform a secondary device that it should visually log out. In the "primary device logout" protocol, it's sent to all secondary devices. In the scenario implemented by this stack, it's sent to just only one device. But it has exactly the same meaning for the recipient. I mentioned this and suggested the rename in this comment.
Good point. I guess you're right: we're not using this code in prod yet: its existing usage for primary device logout is hidden behind the isDev flag. Comment Actions
that's right |