use matrix_sdk_crypto::{DecryptionSettings, OlmMachine};
pub mod decrypt;
pub mod to_device;
pub mod tracked_users;
#[derive(Clone)]
pub struct E2EE<'a> {
pub olm_machine: Option<&'a OlmMachine>,
pub decryption_settings: &'a DecryptionSettings,
pub verification_is_allowed: bool,
}
impl<'a> E2EE<'a> {
pub fn new(
olm_machine: Option<&'a OlmMachine>,
decryption_settings: &'a DecryptionSettings,
verification_is_allowed: bool,
) -> Self {
Self { olm_machine, decryption_settings, verification_is_allowed }
}
}