test: add TestContext.allow_unencrypted()

This commit is contained in:
link2xt
2026-05-07 07:10:17 +02:00
committed by l
parent 02f5dba620
commit f0992070be
20 changed files with 155 additions and 1 deletions

View File

@@ -151,6 +151,7 @@ async fn test_message_stats() -> Result<()> {
alice
.set_config_internal(Config::StatsSending, Some("1"))
.await?;
alice.allow_unencrypted().await?;
let email_chat = alice.create_email_chat(bob).await;
let encrypted_chat = alice.create_chat(bob).await;