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
F2901497: D12639.id42006.diff
Sat, Oct 5, 12:52 PM
F2901292: D12639.id41882.diff
Sat, Oct 5, 12:22 PM
Unknown Object (File)
Sun, Sep 22, 6:51 PM
Unknown Object (File)
Sep 4 2024, 3:13 AM
Unknown Object (File)
Sep 4 2024, 3:13 AM
Unknown Object (File)
Sep 4 2024, 3:12 AM
Unknown Object (File)
Sep 4 2024, 3:12 AM
Unknown Object (File)
Aug 27 2024, 3:36 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
Lint Not Applicable
Unit
Tests Not Applicable