From f21ebb47c7ed6b62f9e8400c93c727be19c51367 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 13 Apr 2008 04:17:20 -0400 Subject: [PATCH] - added seen flag value to etag, so it allows to mark again remarked messages --- program/steps/mail/show.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index cc16700..1fe4aa9 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -53,7 +53,7 @@ $mbox_name = $IMAP->get_mailbox_name(); // calculate Etag for this request - $etag = md5($MESSAGE['UID'].$mbox_name.session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE['is_safe']).intval($PRINT_MODE)); + $etag = md5($MESSAGE['UID'].$mbox_name.session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE['headers']->seen).intval($MESSAGE['is_safe']).intval($PRINT_MODE)); // allow caching, unless remote images are present if ((bool)$MESSAGE['is_safe']) -- Gitblit v1.9.1