task(ui): Support VectorDiff::PushFront in TimelineStateTransaction::handle_remote_events_with_diffs.

This patch updates
`TimelineStateTransaction::handle_remote_events_with_diffs` to support
`VectorDiff::PushFront`.
This commit is contained in:
Ivan Enderlin
2024-12-09 15:37:38 +01:00
parent c1f8232450
commit 23c09b2c9d

View File

@@ -463,6 +463,17 @@ impl TimelineStateTransaction<'_> {
}
}
VectorDiff::PushFront { value: event } => {
self.handle_remote_event(
event,
TimelineItemPosition::Start { origin },
room_data_provider,
settings,
&mut day_divider_adjuster,
)
.await;
}
v => unimplemented!("{v:?}"),
}
}