HomePhabricator
Diffusion Comm 24e16d686fb5

[lib] Add connectionIssue field

Description

[lib] Add connectionIssue field

Summary:
issue: https://linear.app/comm/issue/ENG-5990/add-setconnectionissue-action
In this stack I will be replacing logouts dispatched from the socket with seting this new connectionIssue filed. This is because we don't want to log the user out of the app if we can't connect to one keyserver. We also don't want to log the user out of this keyserver, because that would result in the client removing the keyserver from the store. Instead, we decided to store information about the problem that the client is having with communicating with the keyserver.
See the discussion in ENG-5808 for more details. See ENG-5913 for an explanation of why it takes those values.

Test Plan: flow

Reviewers: michal, kamil, ginsu, tomek, ashoat

Reviewed By: ginsu, tomek, ashoat

Subscribers: ashoat, tomek

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

Details

Provenance
inkaAuthored on Nov 30 2023, 8:53 AM
Reviewer
ginsu
Differential Revision
D10287: [lib] Add connectionIssue field
Parents
rCOMM1c1d82c04824: [web] show total unreads in the navigation sidebar home button
Branches
Unknown
Tags
Unknown