Don't try to EXPUNGE in READ-ONLY mode. (imap4_sync_changes): Don't check
authorJeffrey Stedfast <fejj@novell.com>
Wed, 30 Mar 2005 21:15:14 +0000 (21:15 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Wed, 30 Mar 2005 21:15:14 +0000 (21:15 +0000)
commit6177251ab7de35b57bab59de90b4a97aaa756152
treec8e7bd0f1cf1c2b8e3cc3fd25e3c45b23344857b
parent4f3615fca544e35b4355a1984e5088d1e8808642
Don't try to EXPUNGE in READ-ONLY mode. (imap4_sync_changes): Don't check

2005-03-11  Jeffrey Stedfast  <fejj@novell.com>

* camel-imap4-folder.c (imap4_sync): Don't try to EXPUNGE in
READ-ONLY mode.
(imap4_sync_changes): Don't check permanent_flags here.
(imap4_sync): Check permanent_flags here instead and don't bother
wasting cycles if permanent_flags is empty.
(imap4_sync): Don't attempt to EXPUNGE if the folder is READ-ONLY.
(imap4_append_message): Set an exception if the folder is
read-only and don't bother trying to append.

* camel-imap4-engine.c (camel_imap4_engine_select_folder): Set the
READ-ONLY bit on the folder if the server says we've opened it in
READ-ONLY mode.
camel/providers/imap4/ChangeLog
camel/providers/imap4/camel-imap4-engine.c
camel/providers/imap4/camel-imap4-folder.c
camel/providers/imap4/camel-imap4-folder.h