Skip to content

Commit 019d604

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/receive_imf.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,8 +1145,9 @@ async fn decide_chat_assignment(
11451145
info!(context, "Message is an MDN (TRASH).");
11461146
true
11471147
} else if mime_parser.delivery_report.is_some() {
1148+
// Auto-marking DSNs as IMAP-seen should be avoided because the user may want to see them in
1149+
// another MUA.
11481150
info!(context, "Message is a DSN (TRASH).");
1149-
markseen_on_imap_table(context, rfc724_mid).await.ok();
11501151
true
11511152
} else if mime_parser.get_header(HeaderDef::ChatEdit).is_some()
11521153
|| mime_parser.get_header(HeaderDef::ChatDelete).is_some()

0 commit comments

Comments
 (0)