summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--camel/providers/imap/ChangeLog7
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/camel/providers/imap/ChangeLog b/camel/providers/imap/ChangeLog
index 2b93724ce..eeb7f25f6 100644
--- a/camel/providers/imap/ChangeLog
+++ b/camel/providers/imap/ChangeLog
@@ -1,3 +1,10 @@
+2005-03-10 Jeffrey Stedfast <fejj@novell.com>
+
+ * camel-imap-folder.c (imap_sync_online): READ-ONLY doesn't mean
+ we can't sync flags, allow flag syncing even in READ-ONLY mode
+ since the RFC states that flags listed in PERMANENTFLAGS are
+ always settable.
+
2005-03-01 Not Zed <NotZed@Ximian.com>
** See bug #73112
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 55a2d5a19..62795dc8f 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -765,11 +765,11 @@ imap_sync_online (CamelFolder *folder, CamelException *ex)
gboolean unset;
int i, j, max;
- if (((CamelImapFolder *)folder)->read_only) {
+ if (folder->permanent_flags == 0) {
imap_sync_offline (folder, ex);
return;
}
-
+
camel_exception_init (&local_ex);
CAMEL_SERVICE_LOCK (store, connect_lock);