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
Lint
Lint Not Applicable
Unit
Tests Not Applicable