aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
author5 <rodo@ximian.com>2004-02-26 02:40:29 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-02-26 02:40:29 +0800
commit09070e7446a8044fc7848aae6608de2547b5025b (patch)
tree7d1b0ce5204a1f46dd60365c0ae2cbb383d05e36 /mail/mail-session.c
parent07d79a59b846be023a737414da0e73bf8612e985 (diff)
downloadgsoc2013-evolution-09070e7446a8044fc7848aae6608de2547b5025b.tar.gz
gsoc2013-evolution-09070e7446a8044fc7848aae6608de2547b5025b.tar.zst
gsoc2013-evolution-09070e7446a8044fc7848aae6608de2547b5025b.zip
set seen flag for junk messages
2004-02-25 <rodo@ximian.com> * mail-session.c (main_get_filter_driver): set seen flag for junk messages svn path=/trunk/; revision=24867
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index e6979061e7..ee7afdea94 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -630,7 +630,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\"))");
+ camel_filter_driver_add_rule (driver, "Junk check", "(junk-test)", "(begin (set-system-flag \"junk\")(set-system-flag \"seen\"))");
}
if (strcmp (type, FILTER_SOURCE_JUNKTEST) != 0) {