Page MenuHomePhabricator

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

Authored by bartek on Tue, Jul 2, 5:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 2, 6:02 PM
Unknown Object (File)
Tue, Jul 2, 6:01 PM
Unknown Object (File)
Tue, Jul 2, 6:01 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