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")]