mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
test: add TestContext.allow_unencrypted()
This commit is contained in:
@@ -1229,6 +1229,13 @@ ORDER BY id"
|
||||
.await
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
/// Allow reception of unencrypted messages.
|
||||
#[expect(clippy::unused_async)]
|
||||
pub async fn allow_unencrypted(&self) -> Result<()> {
|
||||
// Does nothing for now.
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn encrypt_raw_message(
|
||||
|
||||
Reference in New Issue
Block a user