matrix-sdk: Hide the cryptostore error behind a feature flag.

master
Damir Jelić 2020-08-03 15:40:39 +02:00
parent e431ba0bf5
commit 01ba94c670
1 changed files with 1 additions and 0 deletions

View File

@ -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),