HomePhabricator
Diffusion Comm cec62fc5e354

[lib] Avoid passing userStateBeforeRecovery to invalidateKeyserverSession

Description

[lib] Avoid passing userStateBeforeRecovery to invalidateKeyserverSession

Summary:
This is a minor refactor I noticed while working on the prior diff.

There's no reason to pass this around from one callback to the other, since it can be accessed directly on the second callback.

Depends on D12232

Test Plan: Flow, also tested together with the prior diff

Reviewers: inka, tomek

Reviewed By: tomek

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

Details

Provenance
ashoatAuthored on May 28 2024, 10:15 AM
Reviewer
tomek
Differential Revision
D12233: [lib] Avoid passing userStateBeforeRecovery to invalidateKeyserverSession
Parents
rCOMMa2a2d84a9b90: [lib] Pass userStateBeforeRecovery to setNewSession call in…
Branches
Loading...
Tags
Loading...