From 6becbf61c91a0941a2cd45b0a47296605a776f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Thu, 8 Aug 2024 13:42:16 +0200 Subject: [PATCH] fixup! Fixes after rebase --- crates/matrix-sdk-base/src/sliding_sync/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/matrix-sdk-base/src/sliding_sync/mod.rs b/crates/matrix-sdk-base/src/sliding_sync/mod.rs index 7f218ec529c..9ae77aff3ee 100644 --- a/crates/matrix-sdk-base/src/sliding_sync/mod.rs +++ b/crates/matrix-sdk-base/src/sliding_sync/mod.rs @@ -2120,7 +2120,7 @@ mod tests { let room_id = room_id!("!r:e.uk"); let room = http::response::Room::new(); let response = response_with_room(room_id, room); - client.process_sliding_sync(&response, &()).await.expect("Failed to process sync"); + client.process_sliding_sync(&response, &(), true).await.expect("Failed to process sync"); // Discard first room info update let _ = room_info_notable_update_stream.recv().await; @@ -2143,7 +2143,7 @@ mod tests { required_state: events, }); let response = response_with_room(room_id, room); - client.process_sliding_sync(&response, &()).await.expect("Failed to process sync"); + client.process_sliding_sync(&response, &(), true).await.expect("Failed to process sync"); // Room was already joined, no MEMBERSHIP update should be triggered here assert_matches!( @@ -2170,7 +2170,7 @@ mod tests { required_state: events, }); let response = response_with_room(room_id, room); - client.process_sliding_sync(&response, &()).await.expect("Failed to process sync"); + client.process_sliding_sync(&response, &(), true).await.expect("Failed to process sync"); // Then a room info notable update is received. let update = room_info_notable_update_stream.recv().await;