mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
Make the posteo test pass
This commit is contained in:
@@ -894,7 +894,7 @@ impl MimeMessage {
|
||||
if let Some(original_msg) = report
|
||||
.subparts
|
||||
.iter()
|
||||
.find(|p| p.ctype.mimetype == "message/rfc822")
|
||||
.find(|p| p.ctype.mimetype.contains("rfc822"))
|
||||
{
|
||||
let report_body = original_msg.get_body_raw()?;
|
||||
let (report_fields, _) = mailparse::parse_headers(&report_body)?;
|
||||
|
||||
Reference in New Issue
Block a user