diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-12-06 21:41:27 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-12-06 21:41:27 +0000 |
| commit | 8860e71e5c02e36b1eb292b86e2d3f2ce5ec252f (patch) | |
| tree | 3a926650cbc0b6170cd00142bb050da63ac97a2d /roundcubemail/program/steps | |
| parent | a66915f63c8b263d36a18e0361176ed251e6fe9a (diff) | |
Preview pane and marking as read (#1484132)
git-svn-id: https://svn.roundcube.net/trunk@400 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/show.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc index 8e6c3cd36..fd82345bb 100644 --- a/roundcubemail/program/steps/mail/show.inc +++ b/roundcubemail/program/steps/mail/show.inc @@ -23,6 +23,8 @@ require_once('Mail/mimeDecode.php'); $PRINT_MODE = $_action=='print' ? TRUE : FALSE; +// allow this request to be cached +send_future_expire_header(); // similar code as in program/steps/mail/get.inc if ($_GET['_uid']) @@ -58,7 +60,7 @@ if ($_GET['_uid']) // mark message as read - if (!$MESSAGE['headers']->seen) + if (!$MESSAGE['headers']->seen && $_action != 'preview') $IMAP->set_flag($_GET['_uid'], 'SEEN'); // give message uid to the client |
