mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 05:16:28 +03:00
fix: Avoid auto-marking DSNs as seen; the user may want to see them in another MUA
This commit is contained in:
@@ -1162,8 +1162,9 @@ async fn decide_chat_assignment(
|
|||||||
info!(context, "Message is an MDN (TRASH).");
|
info!(context, "Message is an MDN (TRASH).");
|
||||||
true
|
true
|
||||||
} else if mime_parser.delivery_report.is_some() {
|
} else if mime_parser.delivery_report.is_some() {
|
||||||
|
// Auto-marking DSNs as IMAP-seen should be avoided because the user may want to see them in
|
||||||
|
// another MUA.
|
||||||
info!(context, "Message is a DSN (TRASH).");
|
info!(context, "Message is a DSN (TRASH).");
|
||||||
markseen_on_imap_table(context, rfc724_mid).await.ok();
|
|
||||||
true
|
true
|
||||||
} else if mime_parser.get_header(HeaderDef::ChatEdit).is_some()
|
} else if mime_parser.get_header(HeaderDef::ChatEdit).is_some()
|
||||||
|| mime_parser.get_header(HeaderDef::ChatDelete).is_some()
|
|| mime_parser.get_header(HeaderDef::ChatDelete).is_some()
|
||||||
|
|||||||
Reference in New Issue
Block a user