From 8033c8404dffbd22ad0b154f90655c4c0df409f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Wed, 16 Oct 2024 09:43:23 +0200 Subject: [PATCH] fixup! Revert "feat(knocking): use `handle_stripped_state_event` to check the membership state event" --- crates/matrix-sdk-base/src/sliding_sync/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");