Skip to content

Commit 155c678

Browse files
committed
fix(sdk): Remove a warning for wasm32.
1 parent 2277311 commit 155c678

File tree

1 file changed

+1
-0
lines changed
  • crates/matrix-sdk/src/event_cache/room

1 file changed

+1
-0
lines changed

crates/matrix-sdk/src/event_cache/room/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@ mod private {
972972

973973
impl<'a> RoomEventCacheStateLockWriteGuard<'a> {
974974
/// Returns a write reference to the underlying room linked chunk.
975+
#[cfg(any(feature = "e2e-encryption", test))]
975976
pub fn room_linked_chunk(&mut self) -> &mut EventLinkedChunk {
976977
&mut self.state.room_linked_chunk
977978
}

0 commit comments

Comments
 (0)