From 636bd77074638a1132b8933c4fb114373aaec296 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 24 Nov 2011 05:26:35 -0500
Subject: [PATCH] - Mark (with different color) folders with recent messages (#1486234)

---
 program/steps/mail/check_recent.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc
index e22cccc..ab0d3c8 100644
--- a/program/steps/mail/check_recent.inc
+++ b/program/steps/mail/check_recent.inc
@@ -49,7 +49,8 @@
             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

--
Gitblit v1.9.1