From bb9d7d7ef3b8ca3a6c09db48b6b01c20ff448925 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 29 Nov 2023 02:17:50 +0000 Subject: [PATCH] feat: send Chat-Verified headers in 1:1 chats Chat-Verified is going to be useful to upgrade one-way verification to bidirectional verification. --- src/mimefactory.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mimefactory.rs b/src/mimefactory.rs index 0aa0b90b4..2e415d87f 100644 --- a/src/mimefactory.rs +++ b/src/mimefactory.rs @@ -924,9 +924,7 @@ impl<'a> MimeFactory<'a> { let mut meta_part = None; let send_verified_headers = match chat.typ { - // In single chats, the protection status isn't necessarily the same for both sides, - // so we don't send the Chat-Verified header: - Chattype::Single => false, + Chattype::Single => true, Chattype::Group => true, // Mailinglists and broadcast lists can actually never be verified: Chattype::Mailinglist => false,