HomePhabricator
Diffusion Comm 97e2dec68c52

[lib][web][native] Simplify logout call

Description

[lib][web][native] Simplify logout call

Summary: Now that actions are wrapped in hooks we can select data in them. This simplfies the calling code and reduces repetition.

Test Plan: Checked that it is possible to log out and back in with no errors showing up. Checked that invalidSessionDowngrade works correctly (by loggin out and back in before logoutActionTypes.success was dispatched)

Reviewers: tomek, michal, varun

Reviewed By: tomek

Subscribers: ashoat

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

Details

Provenance
inkaAuthored on Dec 11 2023, 9:54 AM
Reviewer
tomek
Differential Revision
D10292: [lib][web][native] Simplify logout call
Parents
rCOMMbe372d9837a9: [lib] Add setConnectionIssueActionType
Branches
Unknown
Tags
Unknown