HomePhabricator
Diffusion Comm 76e319858310

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

Description

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

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.

Reviewers: kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12639

Details

Provenance
bartekAuthored on Tue, Jul 2, 4:58 AM
Reviewer
kamil
Differential Revision
D12639: [lib] Log out secondary devices upon receiving primary logout message
Parents
rCOMM2e14a6ae2beb: [lib] Send primary device logout message to secondary devices
Branches
Unknown
Tags
Unknown