Follow tombstone and predecessor history #59
Labels
A-archive-room-view
The view to look at a room day by day in the archive
T-Enhancement
New feature or request
Milestone
Follow tombstone and predecessor history.
In order to go backwards properly:
org.matrix.msc3946.room_predecessor
state event in the room (fallback to predecessor value fromm.room.create
state event)Do a/timestamp_to_event?dir=b&ts=<before the create event>
to see if any history was imported in the room and follow that firstpredecessor
roomIn order to go forwards properly:
m.room.tombstone
state event in the roomm.room.tombstone
event? Maybe not as the room creator wishes to move to another room.m.room.tombstone
event, go to thereplacement_room
Do we have to worry about verifying the links here? (make sure the tombstone and predecessor point at each other)
It doesn't seem like it because the archive isn't doing any visual merging and we're just following the hints of the desired room you're viewing.
Dev notes
Test to make sure that follow logic works (see PR):
Paginating to the beginning of a room with a predecessor and history imported before the room was created will exhaust the imported history before following the predecessorreplacement_room
Test to make sure we can still view all of the messages in the room:
The text was updated successfully, but these errors were encountered: