aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-session.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 96d1be7166..0c3d3c1b81 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2004-02-25 <rodo@ximian.com>
+ * mail-session.c (main_get_filter_driver): set seen flag for junk
+ messages
+
* em-folder-view.c (emfv_popup_mark_junk): do not set DELETED
2004-02-24 Jeffrey Stedfast <fejj@ximian.com>
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) {