fix: don't leak Group-ID in Message-ID

Chat assignment based on In-Reply-To and References works good enough
even if the message cannot be decrypted.
This commit is contained in:
link2xt
2024-02-17 15:50:29 +00:00
parent 1a1467f7cf
commit 78d01933ad
4 changed files with 14 additions and 34 deletions

View File

@@ -551,7 +551,7 @@ impl<'a> MimeFactory<'a> {
let rfc724_mid = match self.loaded {
Loaded::Message { .. } => self.msg.rfc724_mid.clone(),
Loaded::Mdn { .. } => create_outgoing_rfc724_mid(None, &self.from_addr),
Loaded::Mdn { .. } => create_outgoing_rfc724_mid(&self.from_addr),
};
let rfc724_mid_headervalue = render_rfc724_mid(&rfc724_mid);
let rfc724_mid_header = Header::new("Message-ID".into(), rfc724_mid_headervalue);