HomePhabricator
Diffusion Comm b1919741e731

[lib] Correctly handle generating ops from multiple updates

Description

[lib] Correctly handle generating ops from multiple updates

Summary:
We have to apply the ops from each update before generating ops for the next update.

https://linear.app/comm/issue/ENG-8932/thread-updates-are-incorrectly-reduced

Depends on D12956

Test Plan: Modified the code so that a change_thread_settings operation, that updates name, color and unread status of a thread, is processed. Made sure that the changes were correctly applied on web.

Reviewers: kamil, inka

Reviewed By: inka

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Aug 2 2024, 4:34 AM
Reviewer
inka
Differential Revision
D12957: [lib] Correctly handle generating ops from multiple updates
Parents
rCOMMff536cc87f89: [lib] Apply the queued updates
Branches
Unknown
Tags
Unknown