[evolution-data-server] CamelIMAPXFolder: Fix handling of "filter_junk" option.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CamelIMAPXFolder: Fix handling of "filter_junk" option.
- Date: Fri, 10 Jun 2011 14:47:53 +0000 (UTC)
commit 71ee44ea9772d952ca2e896d06d6827546db1cb7
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Jun 10 10:36:24 2011 -0400
CamelIMAPXFolder: Fix handling of "filter_junk" option.
Looks like a typo. Just stumbled on this by accident, but I wonder
if it has something to do with certain junk filtering bugs I've seen
reported by IMAPX users.
camel/providers/imapx/camel-imapx-folder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-folder.c b/camel/providers/imapx/camel-imapx-folder.c
index f666498..ff3b7c1 100644
--- a/camel/providers/imapx/camel-imapx-folder.c
+++ b/camel/providers/imapx/camel-imapx-folder.c
@@ -102,7 +102,7 @@ camel_imapx_folder_new (CamelStore *store, const gchar *folder_dir, const gchar
if (!g_ascii_strcasecmp (folder_name, "INBOX")) {
if ((istore->rec_options & IMAPX_FILTER_INBOX))
folder->folder_flags |= CAMEL_FOLDER_FILTER_RECENT;
- if ((istore->rec_options & IMAPX_FILTER_INBOX))
+ if ((istore->rec_options & IMAPX_FILTER_JUNK))
folder->folder_flags |= CAMEL_FOLDER_FILTER_JUNK;
} else if ((istore->rec_options & (IMAPX_FILTER_JUNK | IMAPX_FILTER_JUNK_INBOX)) == IMAPX_FILTER_JUNK)
folder->folder_flags |= CAMEL_FOLDER_FILTER_JUNK;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]