matrix-sdk: Hide the cryptostore error behind a feature flag.
parent
e431ba0bf5
commit
01ba94c670
|
@ -58,6 +58,7 @@ pub enum Error {
|
||||||
MatrixError(#[from] MatrixError),
|
MatrixError(#[from] MatrixError),
|
||||||
|
|
||||||
/// An error occurred in the crypto store.
|
/// An error occurred in the crypto store.
|
||||||
|
#[cfg(feature = "encryption")]
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
CryptoStoreError(#[from] CryptoStoreError),
|
CryptoStoreError(#[from] CryptoStoreError),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue