HomePhabricator
Diffusion Comm 2a7c9bc65f1a

[lib] Check the timestamps when adding the viewer to thread members

Description

[lib] Check the timestamps when adding the viewer to thread members

Summary:
Check the timestamp and update the membership only when necessary.

https://linear.app/comm/issue/ENG-9114/update-addviewertothreadmembersspec

Depends on D13217

Test Plan: Created two add_viewer_to_thread_members operations and checked if the resulting timestamps are correct (all the timestamps should equal the first operation time except the membership.role timestamp).

Reviewers: kamil, inka

Reviewed By: inka

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Sep 2 2024, 5:35 AM
Reviewer
inka
Differential Revision
D13218: [lib] Check the timestamps when adding the viewer to thread members
Parents
rCOMM1fa0f3e873ce: [lib] Check the timestamps when joining threads
Branches
Unknown
Tags
Unknown