From de21aaf998e80f3c33141e15eacc40606a0a93d1 Mon Sep 17 00:00:00 2001 From: hanadi92 Date: Thu, 7 Mar 2024 22:48:50 +0100 Subject: [PATCH] fix: remove unused unstable features param in client builder Signed-off-by: hanadi92 --- crates/matrix-sdk/src/client/builder.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/matrix-sdk/src/client/builder.rs b/crates/matrix-sdk/src/client/builder.rs index 44c5a269bba..053d68b948a 100644 --- a/crates/matrix-sdk/src/client/builder.rs +++ b/crates/matrix-sdk/src/client/builder.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -use std::{collections::BTreeMap, fmt, sync::Arc}; +use std::{fmt, sync::Arc}; use matrix_sdk_base::{store::StoreConfig, BaseClient}; use ruma::{ @@ -90,7 +90,6 @@ pub struct ClientBuilder { request_config: RequestConfig, respect_login_well_known: bool, server_versions: Option>, - unstable_features: Option>, handle_refresh_tokens: bool, base_client: Option, #[cfg(feature = "e2e-encryption")] @@ -108,7 +107,6 @@ impl ClientBuilder { request_config: Default::default(), respect_login_well_known: true, server_versions: None, - unstable_features: None, handle_refresh_tokens: false, base_client: None, #[cfg(feature = "e2e-encryption")] @@ -510,7 +508,7 @@ impl ClientBuilder { http_client, base_client, self.server_versions, - self.unstable_features, + None, self.respect_login_well_known, event_cache, #[cfg(feature = "e2e-encryption")]