Skip to content

Commit

Permalink
Put List-ID into protected headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Hocuri committed Oct 6, 2023
1 parent 1fd1f9e commit 0d95ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mimefactory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ impl<'a> MimeFactory<'a> {

if let Loaded::Message { chat } = &self.loaded {
if chat.typ == Chattype::Broadcast {
headers.unprotected.push(Header::new(
headers.protected.push(Header::new(
"List-ID".into(),
format!("{} <{}>", chat.name, chat.grpid),
));
Expand Down

0 comments on commit 0d95ebc

Please sign in to comment.