Page MenuHomePhorge

Amend room state when paginating back
ClosedPublic

Authored by tusooa on Jul 1 2024, 4:40 PM.
Tags
None
Referenced Files
F8185059: D85.1760255210.diff
Sat, Oct 11, 12:46 AM
F8179820: D85.1760237440.diff
Fri, Oct 10, 7:50 PM
F8179288: D85.1760235648.diff
Fri, Oct 10, 7:20 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable