Skip to content

Commit

Permalink
fix: remove unused unstable features param in client builder
Browse files Browse the repository at this point in the history
Signed-off-by: hanadi92 <[email protected]>
  • Loading branch information
hanadi92 committed Mar 7, 2024
1 parent d9ed020 commit de21aaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/matrix-sdk/src/client/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down Expand Up @@ -90,7 +90,6 @@ pub struct ClientBuilder {
request_config: RequestConfig,
respect_login_well_known: bool,
server_versions: Option<Box<[MatrixVersion]>>,
unstable_features: Option<BTreeMap<String, bool>>,
handle_refresh_tokens: bool,
base_client: Option<BaseClient>,
#[cfg(feature = "e2e-encryption")]
Expand All @@ -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")]
Expand Down Expand Up @@ -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")]
Expand Down

0 comments on commit de21aaf

Please sign in to comment.