HomePhabricator
Diffusion Comm 1164b23ff78a

[lib] Check the timestamps when updating read status for all the specs

Description

[lib] Check the timestamps when updating read status for all the specs

Summary:
Only update the status when it is more recent than the saved timestamp.

https://linear.app/comm/issue/ENG-9112/handle-unread-status

Depends on D13234

Test Plan: Process a couple of operations with text messages and check if the unread status and timestamps are correct.

Reviewers: kamil, inka, marcin

Reviewed By: marcin

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Sep 4 2024, 9:40 AM
Reviewer
marcin
Differential Revision
D13241: [lib] Check the timestamps when updating read status for all the specs
Parents
rCOMM9ede5407abc5: [lib] Check the timestamps when updating thread subscription
Branches
Unknown
Tags
Unknown