From d7e316218f97babbbbda3df9cad6397d5dc7e4b3 Mon Sep 17 00:00:00 2001 From: "mkmelin+mozilla%iki.fi" Date: Wed, 16 Apr 2008 15:55:22 +0000 Subject: [PATCH] [Bug 425756] return receipt sent every time I enter the message for messages marked as read. r=philringnalda git-svn-id: svn://10.0.0.236/trunk@250312 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mail/base/content/mailWindowOverlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/mail/base/content/mailWindowOverlay.js b/mozilla/mail/base/content/mailWindowOverlay.js index 47f3af0aa92..2812ce6f5df 100644 --- a/mozilla/mail/base/content/mailWindowOverlay.js +++ b/mozilla/mail/base/content/mailWindowOverlay.js @@ -2811,6 +2811,7 @@ function HandleMDNResponse(aUrl) // After a msg is downloaded it's already marked READ at this point so we must check if // the msg has a "Disposition-Notification-To" header and no MDN report has been sent yet. + const MSG_FLAG_MDN_REPORT_SENT = 0x800000; var msgFlags = msgHdr.flags; if ((msgFlags & MSG_FLAG_IMAP_DELETED) || (msgFlags & MSG_FLAG_MDN_REPORT_SENT)) return; @@ -2828,7 +2829,6 @@ function HandleMDNResponse(aUrl) // Reset mark msg MDN "Sent" and "Not Needed". const MSG_FLAG_MDN_REPORT_NEEDED = 0x400000; - const MSG_FLAG_MDN_REPORT_SENT = 0x800000 msgHdr.flags = (msgFlags & ~MSG_FLAG_MDN_REPORT_NEEDED); msgHdr.OrFlags(MSG_FLAG_MDN_REPORT_SENT);