We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd93a9a commit 5d95387Copy full SHA for 5d95387
crates/matrix-sdk-ui/tests/integration/timeline/sliding_sync.rs
@@ -279,16 +279,6 @@ async fn timeline_test_helper(
279
anyhow::anyhow!("Room {room_id} not found in client. Can't provide a timeline for it")
280
})?;
281
282
- // TODO: when the event cache handles its own cache, we can remove this.
283
- client
284
- .event_cache()
285
- .add_initial_events(
286
- room_id,
287
- sliding_sync_room.timeline_queue().iter().cloned().collect(),
288
- sliding_sync_room.prev_batch(),
289
- )
290
- .await?;
291
-
292
let timeline = Timeline::builder(&sdk_room).track_read_marker_and_receipts().build().await?;
293
294
Ok(timeline.subscribe().await)
0 commit comments