Page MenuHomePhorge

Load events as they appear
ClosedPublic

Authored by tusooa on Mon, Jul 6, 9:43 PM.

Details

Summary

Previously, unloaded events will show as "unknown event" and since the introduction of DbStore, there are more and more unloaded events as replied-to events in the timeline. This commit automatically loads the event from DbStore when it encounters an unknown event. Further work can be done to allow the user to fall back to client-server api after libkazv implements fetching one single event by id.

Type: add

Test Plan

Reply to a very old event in a room. Switch to another room and wait until the event is purged. Switch back to the original room, and check you can see the old event immediately as the replied-to event.

Diff Detail

Repository
rK kazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mon, Jul 6, 10:12 PM
Harbormaster failed remote builds in B660: Diff 1013!

Fix RoomTimelineView quick test, Port some to appium, and fix EventViewUnavailable appium test not being run

tusooa requested review of this revision.Wed, Jul 8, 3:08 PM

Need change to MatrixRoomTimeline::at() to correctly handle fetching pinned events

fix pinned events timeline and add relevant tests

This revision is now accepted and ready to land.Sat, Jul 11, 8:13 PM
This revision was automatically updated to reflect the committed changes.