summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-13 08:17:20 +0000
committeralecpl <alec@alec.pl>2008-04-13 08:17:20 +0000
commitf21ebb47c7ed6b62f9e8400c93c727be19c51367 (patch)
tree81a9132e0d099fcdbad4e46d3a5256994be590b7 /program/steps
parent9d6f8e8162ec7cf3fdd16d0f6527c57117af9c21 (diff)
- added seen flag value to etag, so it allows to mark again remarked messages
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index cc167009f..1fe4aa9b4 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -53,7 +53,7 @@ if ($_GET['_uid'])
$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'])