From badba6eebc0c829dd4329334249131a59874bc85 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 18 Nov 2025 15:42:02 +0100 Subject: [PATCH] fix(sdk): Remove a warning for `wasm32`. --- crates/matrix-sdk/src/event_cache/room/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/matrix-sdk/src/event_cache/room/mod.rs b/crates/matrix-sdk/src/event_cache/room/mod.rs index d385d6a60..1830e8231 100644 --- a/crates/matrix-sdk/src/event_cache/room/mod.rs +++ b/crates/matrix-sdk/src/event_cache/room/mod.rs @@ -974,6 +974,7 @@ mod private { impl<'a> RoomEventCacheStateLockWriteGuard<'a> { /// Returns a write reference to the underlying room linked chunk. + #[cfg(any(feature = "e2e-encryption", test))] pub fn room_linked_chunk(&mut self) -> &mut EventLinkedChunk { &mut self.state.room_linked_chunk }