From 4c7d03de0c96ae46cb9df1c71342e18a718abe9a Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 19 Dec 2024 17:15:41 +0100 Subject: [PATCH] fixup! refactor: avoid use of `async_trait` for `RoomIdentityProvider` --- crates/matrix-sdk/src/room/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/matrix-sdk/src/room/mod.rs b/crates/matrix-sdk/src/room/mod.rs index 295164b5d93..c8cf9a610ca 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},