Page MenuHomePhorge

Update local read marker before posting read receipt
ClosedPublic

Authored by tusooa on Sat, Nov 16, 5:53 PM.
Tags
None
Referenced Files
F111982: D204.1732246500.diff
Wed, Nov 20, 7:35 PM
F111981: D204.1732246430.diff
Wed, Nov 20, 7:33 PM
F111957: D204.1732220582.diff
Wed, Nov 20, 12:23 PM
F111955: D204.1732218788.diff
Wed, Nov 20, 11:53 AM
F111930: D204.1732193928.diff
Wed, Nov 20, 4:58 AM
F111925: D204.1732190077.diff
Wed, Nov 20, 3:54 AM
Subscribers
None

Details

Summary

Before, we only used the m.receipt event from sync as the criterion for whether an event is read. This does not allow us to mark the event as read if the server is not reachable, or when the server's ordering is different from the client's. This commit makes it possible to mark an event as read under such circumstances.

Type: fix

BUG: https://iron.lily-is.land/T113

Test Plan

Verify unit tests pass.

Diff Detail

Repository
rL libkazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 328
Build 642: GitLab CI for libkazv
Build 641: arc lint + arc unit