HomePhabricator
Diffusion Comm 7c9488ad1695

[lib] Replace sessionRecoveryInProgress with actionSessionRecovery

Description

[lib] Replace sessionRecoveryInProgress with actionSessionRecovery

Summary:
This Redux field (part of ConnectionInfo inside KeyserverInfo) will now store a RecoveryActionSource instead of just a boolean. This will allow us to pass the RecoveryActionSource from the place where the session recovery is initiated to the place where the session recovery is executed (KeyserverConnectionHandler).

Depends on D11211

Test Plan: I used this test plan for the whole stack: https://gist.github.com/Ashoat/75ab690d5c53cdd68a51b02e03e27c58

Reviewers: inka, tomek

Reviewed By: tomek

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

Details

Provenance
ashoatAuthored on Feb 12 2024, 8:57 PM
Reviewer
tomek
Differential Revision
D11212: [lib] Replace sessionRecoveryInProgress with actionSessionRecovery
Parents
rCOMMed95e5cc006b: [lib] Deprecate recoveryActionSources.sqliteOpFailure
Branches
Unknown
Tags
Unknown