aboutsummaryrefslogtreecommitdiff
path: root/src/inc.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-02-08 01:53:42 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-02-08 01:53:42 +0000
commit51f4fa2f70d527f0496ce93ea67e066119af69bc (patch)
tree8ca6989ced6ecee6c7700d3f16301b148dca6f17 /src/inc.c
parent71fefa4187e49bc09bfda6cce14fe92ebd1f008d (diff)
don't filter junk on import.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1535 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/inc.c')
-rw-r--r--src/inc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inc.c b/src/inc.c
index 0aeeb9b3..95f3573a 100644
--- a/src/inc.c
+++ b/src/inc.c
@@ -1403,7 +1403,9 @@ static gint get_spool(FolderItem *dest, const gchar *mbox)
folder_table = g_hash_table_new(NULL, NULL);
msgs = proc_mbox_full(dest, tmp_mbox, folder_table,
- prefs_common.filter_on_inc);
+ prefs_common.filter_on_inc,
+ prefs_common.enable_junk &&
+ prefs_common.filter_junk_on_recv);
g_unlink(tmp_mbox);
if (msgs >= 0) empty_mbox(mbox);