Skip to content

Commit f461b8d

Browse files
committed
fix: Avoid auto-marking DSNs as seen; the user may want to see them in another MUA
1 parent cfebc28 commit f461b8d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/receive_imf.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,9 @@ async fn decide_chat_assignment(
11621162
info!(context, "Message is an MDN (TRASH).");
11631163
true
11641164
} else if mime_parser.delivery_report.is_some() {
1165+
// Auto-marking DSNs as IMAP-seen should be avoided because the user may want to see them in
1166+
// another MUA.
11651167
info!(context, "Message is a DSN (TRASH).");
1166-
markseen_on_imap_table(context, rfc724_mid).await.ok();
11671168
true
11681169
} else if mime_parser.get_header(HeaderDef::ChatEdit).is_some()
11691170
|| mime_parser.get_header(HeaderDef::ChatDelete).is_some()

0 commit comments

Comments
 (0)