diff --git a/crates/matrix-sdk/src/sliding_sync/client.rs b/crates/matrix-sdk/src/sliding_sync/client.rs index 8bbefd053..5e9e157a4 100644 --- a/crates/matrix-sdk/src/sliding_sync/client.rs +++ b/crates/matrix-sdk/src/sliding_sync/client.rs @@ -757,16 +757,6 @@ mod tests { } ); - // And another one. - // TODO: maybe something to investigate why we receive two in a row? - assert_matches!( - room_info_notable_update_stream.recv().await, - Ok(RoomInfoNotableUpdate { room_id: received_room_id, reasons: received_reasons }) => { - assert_eq!(received_room_id, room_id); - assert!(received_reasons.contains(RoomInfoNotableUpdateReasons::LATEST_EVENT), "{received_reasons:?}"); - } - ); - yield_now().await; // Then the stream gets quiet.