summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-29 13:02:02 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-29 13:02:02 +0000
commit3bf10e72144f2eb0a3d59fb9c9bc23a80cc2e413 (patch)
treefedd99d779b23cb94ab11eb1860664d99e1d59b7 /roundcubemail/program/steps/mail
parentffc0b3d0790c5f4fcf2076cc3d8c319bb5ceba69 (diff)
- #1485290: Fix unread counter when displaying cached massage in preview panel
- remove some empty lines in app.js git-svn-id: https://svn.roundcube.net/trunk@1900 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/show.inc9
1 files changed, 1 insertions, 8 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc
index e5ea85791..c9999f3aa 100644
--- a/roundcubemail/program/steps/mail/show.inc
+++ b/roundcubemail/program/steps/mail/show.inc
@@ -67,14 +67,7 @@ if ($_GET['_uid']) {
// mark message as read
if (!$MESSAGE->headers->seen)
- {
- $marked = $IMAP->set_flag($MESSAGE->uid, 'SEEN');
- if($RCMAIL->action == 'preview' && $marked != -1)
- {
- $OUTPUT->command('parent.set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'), ($mbox_name == 'INBOX'));
- $OUTPUT->command('parent.set_message', $MESSAGE->uid, 'unread', false);
- }
- }
+ $IMAP->set_flag($MESSAGE->uid, 'SEEN');
// give message uid to the client
$OUTPUT->set_env('uid', $MESSAGE->uid);