summaryrefslogtreecommitdiff
path: root/program/steps/mail/check_recent.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-24 10:26:35 +0000
committeralecpl <alec@alec.pl>2011-11-24 10:26:35 +0000
commit636bd77074638a1132b8933c4fb114373aaec296 (patch)
treef482788161a1b290cffe6b1f381dcbfcc53e5b8c /program/steps/mail/check_recent.inc
parent80216d0b79fe4a3b4d637c94bda1616990291109 (diff)
- Mark (with different color) folders with recent messages (#1486234)
Diffstat (limited to 'program/steps/mail/check_recent.inc')
-rw-r--r--program/steps/mail/check_recent.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc
index e22cccca5..ab0d3c818 100644
--- a/program/steps/mail/check_recent.inc
+++ b/program/steps/mail/check_recent.inc
@@ -49,7 +49,8 @@ foreach ($a_mailboxes as $mbox_name) {
array('mailbox' => $mbox_name, 'is_current' => $is_current));
}
- rcmail_send_unread_count($mbox_name, true);
+ rcmail_send_unread_count($mbox_name, true, null,
+ (!$is_current && ($status & 1)) ? 'recent' : '');
if ($status && $is_current) {
// refresh saved search set