HomePhabricator
Diffusion Comm 6b2c387d34e2

[lib] Move message update reducer into specs

Description

[lib] Move message update reducer into specs

Summary:
Use a similar approach to the original one, which is based on mutating the result while iterating the array.

Depends on D9318

https://linear.app/comm/issue/ENG-4241/handle-processupdatesactiontype-as-a-part-of-a-spec

Test Plan: Check if the new code produces the same result os the old one.

Reviewers: kamil, bartek, inka

Reviewed By: kamil

Subscribers: ashoat, michal

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

Details

Provenance
tomekAuthored on Sep 26 2023, 1:25 PM
Reviewer
kamil
Differential Revision
D9319: [lib] Move message update reducer into specs
Parents
rCOMMc9a66b403e9d: [lib] Move local id update reducer into specs
Branches
Unknown
Tags
Unknown