HomePhabricator
Diffusion Comm 9ede5407abc5

[lib] Check the timestamps when updating thread subscription

Description

[lib] Check the timestamps when updating thread subscription

Summary:
Check the timestamp and don't update the subscription when the timestamp is more recent than the operation.

https://linear.app/comm/issue/ENG-9119/update-changethreadsubscriptionspec

Depends on D13233

Test Plan: Perform a couple of thread subscription operations and check if the state is correct.

Reviewers: kamil, inka, marcin

Reviewed By: marcin

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Tue, Sep 3, 9:51 AM
Reviewer
marcin
Differential Revision
D13234: [lib] Check the timestamps when updating thread subscription
Parents
rCOMMff656da6fda9: [lib] Check the timestamps when removing thread members
Branches
Unknown
Tags
Unknown