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
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)
Thu, Oct 24, 8:51 PM
Unknown Object (File)
Oct 13 2024, 12:29 PM
Unknown Object (File)
Oct 11 2024, 3:10 AM
Unknown Object (File)
Oct 11 2024, 3:10 AM
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
No Lint Coverage
Unit
No Test Coverage