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)
Thu, Oct 24, 8:51 PM
Unknown Object (File)
Sun, Oct 13, 12:29 PM
Unknown Object (File)
Fri, Oct 11, 3:10 AM
Unknown Object (File)
Fri, Oct 11, 3:10 AM
Unknown Object (File)
Fri, Oct 11, 3:10 AM
Unknown Object (File)
Fri, Oct 11, 3:10 AM
Unknown Object (File)
Thu, Oct 10, 6:04 PM
Unknown Object (File)
Oct 5 2024, 12:52 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