diff --git a/crates/matrix-sdk/src/room/mod.rs b/crates/matrix-sdk/src/room/mod.rs index 295164b5d9..c8cf9a610c 100644 --- a/crates/matrix-sdk/src/room/mod.rs +++ b/crates/matrix-sdk/src/room/mod.rs @@ -42,9 +42,11 @@ use matrix_sdk_base::{ }, media::MediaThumbnailSettings, store::StateStoreExt, - BoxFuture, ComposerDraft, RoomInfoNotableUpdateReasons, RoomMemberships, StateChanges, - StateStoreDataKey, StateStoreDataValue, + ComposerDraft, RoomInfoNotableUpdateReasons, RoomMemberships, StateChanges, StateStoreDataKey, + StateStoreDataValue, }; +#[cfg(all(feature = "e2e-encryption", not(target_arch = "wasm32")))] +use matrix_sdk_common::BoxFuture; use matrix_sdk_common::{ deserialized_responses::SyncTimelineEvent, executor::{spawn, JoinHandle},