Page MenuHomePhabricator

[lib] Log out secondary devices upon receiving primary logout message
ClosedPublic

Authored by bartek on Jul 2 2024, 5:10 AM.
Tags
None
Referenced Files
F3366899: D12639.id41882.diff
Mon, Nov 25, 12:58 PM
Unknown Object (File)
Fri, Nov 22, 6:24 AM
Unknown Object (File)
Tue, Nov 12, 6:19 AM
Unknown Object (File)
Tue, Nov 12, 3:35 AM
Unknown Object (File)
Tue, Nov 12, 12:46 AM
Unknown Object (File)
Mon, Nov 11, 8:22 PM
Unknown Object (File)
Oct 24 2024, 8:51 PM
Unknown Object (File)
Oct 13 2024, 12:29 PM
Subscribers

Details

Summary

Replaced console.log with actual visual logout. Needed to modify the useLogOut() hook to skip Identity logout,
because it's already handled by the primary device. Secondary devices, upon receiving this message,
should only perform visual logout (and authoritative keyserver logout now).

Depends on D12638

Test Plan

Repeated test plan from D12638. This time, got logged out on simulator and web, instead of having log printed.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable