HomePhabricator
Diffusion Comm db03af5eaae3

[lib] Inline reduceConnectionInfo pt.1

Description

[lib] Inline reduceConnectionInfo pt.1

Summary:
issue: https://linear.app/comm/issue/ENG-5352/inline-reduceconnectioninfo
This reducer is big, so I will do this in two parts. Some actions needed to have their payloads updated.

Socket is keyserver specific. ActivityHandler is only used in socket, so it is also keyserver specific

Test Plan:
Dispatched updateConnectionStatusActionType, queueActivityUpdatesActionType, updateActivityActionTypes.success action and checked that the store is updated as expected. Assuming that unsupervisedBackgroundActionType works by symmetry with updateConnectionStatusActionType
Ran yarn flow-all

Reviewers: michal, kamil, ginsu

Reviewed By: michal

Subscribers: ashoat, tomek, wyilio

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

Details

Provenance
inkaAuthored on Nov 9 2023, 7:26 AM
Reviewer
michal
Differential Revision
D9803: [lib] Inline reduceConnectionInfo pt.1
Parents
rCOMM3d94daeb5510: [lib] Inline reduceLastCommunicatedPlatformDetails
Branches
Unknown
Tags
Unknown