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> {
652
652
// now we may want to replace a populated timeline with an empty one.
653
653
if !state. items . is_empty ( ) || !events. is_empty ( ) {
654
654
state
655
- . replace_with_remove_events (
655
+ . replace_with_remote_events (
656
656
events,
657
657
TimelineEnd :: Back ,
658
658
origin,
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ impl TimelineState {
279
279
/// Note: when the `position` is [`TimelineEnd::Front`], prepended events
280
280
/// should be ordered in *reverse* topological order, that is, `events[0]`
281
281
/// 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 > (
283
283
& mut self ,
284
284
events : Vec < SyncTimelineEvent > ,
285
285
position : TimelineEnd ,
You can’t perform that action at this time.
0 commit comments