HomePhabricator
Diffusion Comm 55cbecae5c70

[lib] Call logout when connectionIssue is set

Description

[lib] Call logout when connectionIssue is set

Summary:
issue: https://linear.app/comm/issue/ENG-5914/stop-calling-logout-from-socket
See this comment. We want to stop calling logout from the Socket, and instead set conneciotnIssue. But for the time baing we will log the user out from KeyserverConnectionHandler if connectionIssue was set. This will be updated in the future to instead retry the keyserver from time to time.

Test Plan: Dispatched the setConnectionIssueActionTypes, checked that the user is logged out.

Reviewers: michal, kamil, ginsu, tomek, ashoat

Reviewed By: ginsu, tomek, ashoat

Subscribers: ashoat

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

Details

Provenance
inkaAuthored on Dec 11 2023, 10:11 AM
Reviewer
ginsu
Differential Revision
D10331: [lib] Call logout when connectionIssue is set
Parents
rCOMM97e2dec68c52: [lib][web][native] Simplify logout call
Branches
Unknown
Tags
Unknown