File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/matrix-sdk-ui/src/timeline/controller Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ impl<P: RoomDataProvider> TimelineController<P> {
652652 // now we may want to replace a populated timeline with an empty one.
653653 if !state. items . is_empty ( ) || !events. is_empty ( ) {
654654 state
655- . replace_with_remove_events (
655+ . replace_with_remote_events (
656656 events,
657657 TimelineEnd :: Back ,
658658 origin,
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ impl TimelineState {
279279 /// Note: when the `position` is [`TimelineEnd::Front`], prepended events
280280 /// should be ordered in *reverse* topological order, that is, `events[0]`
281281 /// is the most recent.
282- pub ( super ) async fn replace_with_remove_events < P : RoomDataProvider > (
282+ pub ( super ) async fn replace_with_remote_events < P : RoomDataProvider > (
283283 & mut self ,
284284 events : Vec < SyncTimelineEvent > ,
285285 position : TimelineEnd ,
You can’t perform that action at this time.
0 commit comments