Skip to content

Commit 9d35a25

Browse files
committed
fix:(oidc) remove unnecessary e2e-encryption imports
1 parent e37ad11 commit 9d35a25

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

crates/matrix-sdk/src/oidc/cross_process.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use std::sync::Arc;
22

3+
#[cfg(feature = "e2e-encryption")]
34
use matrix_sdk_base::crypto::{
45
store::{LockableCryptoStore, Store},
56
CryptoStoreError,

crates/matrix-sdk/src/oidc/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ use mas_oidc_client::{
188188
IdToken,
189189
},
190190
};
191-
use matrix_sdk_base::{
192-
crypto::types::qr_login::QrCodeData, once_cell::sync::OnceCell, SessionMeta,
193-
};
191+
#[cfg(feature = "e2e-encryption")]
192+
use matrix_sdk_base::crypto::types::qr_login::QrCodeData;
193+
use matrix_sdk_base::{once_cell::sync::OnceCell, SessionMeta};
194194
use rand::{rngs::StdRng, Rng, SeedableRng};
195195
use ruma::api::client::discovery::get_authentication_issuer;
196196
use serde::{Deserialize, Serialize};

0 commit comments

Comments
 (0)