aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 6fdbb38697..14cfedd432 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -5,7 +5,8 @@
servers that send back a UID at the end of each FETCH inside of the main
body of the message part).
(imap_sync): Un-#if 0 the code that sets the flags on the IMAP server
- for messages that have changed
+ for messages that have changed. Oops, don't mask with DELETED to find out
+ if the message has been answered ;-)
2000-07-16 Jeffrey Stedfast <fejj@helixcode.com>
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index b2f6361863..c04fbb38f9 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -275,7 +275,7 @@ imap_init (CamelFolder *folder, CamelStore *parent_store, CamelFolder *parent_fo
CAMEL_IMAP_STORE (store)->current_folder = NULL;
} else {
- /* parse the mode we opened it in and set as current mailbox */
+ /* set as current mailbox */
CAMEL_IMAP_STORE (store)->current_folder = folder;
}
g_free (result);
@@ -301,7 +301,7 @@ imap_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
flags = g_strconcat (info->flags & CAMEL_MESSAGE_SEEN ? "\\Seen " : "",
info->flags & CAMEL_MESSAGE_DRAFT ? "\\Draft " : "",
info->flags & CAMEL_MESSAGE_DELETED ? "\\Deleted " : "",
- info->flags & CAMEL_MESSAGE_DELETED ? "\\Answered " : "",
+ info->flags & CAMEL_MESSAGE_ANSWERED ? "\\Answered " : "",
NULL);
if (*flags) {
gchar *result;