diff --git a/crates/matrix-sdk-base/src/sliding_sync/mod.rs b/crates/matrix-sdk-base/src/sliding_sync/mod.rs index a4e4a32d7b6..3523e4829aa 100644 --- a/crates/matrix-sdk-base/src/sliding_sync/mod.rs +++ b/crates/matrix-sdk-base/src/sliding_sync/mod.rs @@ -1119,7 +1119,7 @@ mod tests { // When the room is set as knocked with a random user id as state key, let mut room = http::response::Room::new(); - set_room_knocked(&mut room, &user_id); + set_room_knocked(&mut room, user_id); let response = response_with_room(room_id, room); client.process_sliding_sync(&response, &(), true).await.expect("Failed to process sync");