Page MenuHomePhorge

Amend room state when paginating back
ClosedPublic

Authored by tusooa on Jul 1 2024, 4:40 PM.

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