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
F112181: D204.1732273604.diff
Thu, Nov 21, 3:06 AM
F112180: D204.1732273590.diff
Thu, Nov 21, 3:06 AM
F112179: D204.1732273461.diff
Thu, Nov 21, 3:04 AM
F112113: D204.1732271732.diff
Thu, Nov 21, 2:35 AM
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
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