Page MenuHomePhorge

Amend room state when paginating back
ClosedPublic

Authored by tusooa on Jul 1 2024, 4:40 PM.
Tags
None
Referenced Files
F27065: D85.1726601309.diff
Mon, Sep 16, 12:28 PM
Unknown Object (File)
Fri, Sep 6, 7:19 AM
Unknown Object (File)
Tue, Sep 3, 8:10 PM
Unknown Object (File)
Tue, Sep 3, 8:10 PM
Unknown Object (File)
Mon, Sep 2, 10:33 PM
Unknown Object (File)
Mon, Sep 2, 3:38 PM
Unknown Object (File)
Fri, Aug 30, 7:53 PM
Unknown Object (File)
Tue, Aug 27, 12:01 AM
Subscribers
None

Details

Summary

When paginating back, there will be state events that are not yet fetched appearing in the timeline, and in the state property of the response. We add them to the local room state if it does not yet contain an event with the same type and state key.

Type: fix

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

Test Plan

Verify that unit tests pass.

Diff Detail

Repository
rL libkazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 124
Build 237: GitLab CI for libkazv
Build 236: arc lint + arc unit