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
Paths
| Differential D9319 Authored by tomek on Sep 28 2023, 8:24 AM.
Details 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.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptSep 28 2023, 8:24 AM2023-09-28 08:24:28 (UTC-7) Harbormaster completed remote builds in B22898: Diff 31529.Sep 28 2023, 8:43 AM2023-09-28 08:43:05 (UTC-7) This revision is now accepted and ready to land.Sep 29 2023, 4:08 AM2023-09-29 04:08:12 (UTC-7) tomek added a child revision: D9354: [lib] Move inconsistencies finding into specs.Oct 4 2023, 3:19 AM2023-10-04 03:19:36 (UTC-7) Closed by commit rCOMM6b2c387d34e2: [lib] Move message update reducer into specs (authored by tomek). · Explain WhyOct 9 2023, 3:57 AM2023-10-09 03:57:37 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 31782 lib/reducers/message-reducer.js
lib/shared/updates/join-thread-spec.js
lib/shared/updates/update-spec.js
|