aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-18 06:19:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-18 06:19:19 +0800
commit2baa5d56ed2db88fdb156c16165052346c4a405b (patch)
tree7e26301f7d944ac6bc3fe045c6136991af0f1ef4
parentbd3f22fc91123ef952414c16e7acd4a8d6032988 (diff)
downloadgsoc2013-evolution-2baa5d56ed2db88fdb156c16165052346c4a405b.tar
gsoc2013-evolution-2baa5d56ed2db88fdb156c16165052346c4a405b.tar.gz
gsoc2013-evolution-2baa5d56ed2db88fdb156c16165052346c4a405b.tar.bz2
gsoc2013-evolution-2baa5d56ed2db88fdb156c16165052346c4a405b.tar.lz
gsoc2013-evolution-2baa5d56ed2db88fdb156c16165052346c4a405b.tar.xz
gsoc2013-evolution-2baa5d56ed2db88fdb156c16165052346c4a405b.tar.zst
gsoc2013-evolution-2baa5d56ed2db88fdb156c16165052346c4a405b.zip
Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and
2000-07-17 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_get_message): Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and any other 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. Oops, don't mask with DELETED to find out if the message has been answered ;-) svn path=/trunk/; revision=4202
-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;