From a08f6f0876fce40131c3915309591d775372f10c Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 28 Apr 2009 13:42:11 +0200 Subject: Do not mark newly recognized Junk messages Read ** Fix for bug #579550 --- mail/ChangeLog | 8 ++++++++ mail/mail-session.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 586cb1b7bf..97599a4a20 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2009-04-28 Milan Crha + + ** Fix for bug #579550 + + * mail-session.c: (main_get_filter_driver): + Do not mark messages recognized as junk Seen, to let user notice new + messages in a junk folder. + 2009-04-27 Milan Crha ** Fix for bug #579635 diff --git a/mail/mail-session.c b/mail/mail-session.c index 4997a29db0..e02ea41b55 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -544,7 +544,7 @@ main_get_filter_driver (CamelSession *session, const char *type, CamelException if ((!strcmp (type, FILTER_SOURCE_INCOMING) || !strcmp (type, FILTER_SOURCE_JUNKTEST)) && camel_session_check_junk (session)) { /* implicit junk check as 1st rule */ - camel_filter_driver_add_rule (driver, "Junk check", "(junk-test)", "(begin (set-system-flag \"junk\")(set-system-flag \"seen\"))"); + camel_filter_driver_add_rule (driver, "Junk check", "(junk-test)", "(begin (set-system-flag \"junk\"))"); } if (strcmp (type, FILTER_SOURCE_JUNKTEST) != 0) { -- cgit