HomePhabricator
Diffusion Comm 635fdc9038fe

[lib] Refactor logout in keyserver reducer

Description

[lib] Refactor logout in keyserver reducer

Summary:
issue: ENG-5826
We want to only remove the keyservers that the user has disconnected from. The only exception is Ashoat's keyserver, which always needs to be in the store. Additionally to what we were removing from it before I removed lateResponses. lateResponses include message ids, so I'm not sure if it would be ba security breach to leave them. But it looks like this field is only used for the disconnected bar, which is not shown on the logout screen anyway, and soon will not be even connected to the keyserver connection, but to the internet connection (ENG-6137)

Test Plan: Ran the provided test

Reviewers: michal, kamil, ginsu

Reviewed By: michal

Subscribers: ashoat, tomek

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

Details

Provenance
inkaAuthored on Jan 17 2024, 5:32 AM
Reviewer
michal
Differential Revision
D10658: [lib] Refactor logout in keyserver reducer
Parents
rCOMM581f71cd93ec: lib] Refactor message reducer
Branches
Unknown
Tags
Unknown