From: Timo Sirainen Date: Tue, 4 Nov 2003 20:40:58 +0000 (+0200) Subject: STORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only. X-Git-Tag: 1.1.alpha1~4247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceb97b6277173ae5920b6b2bff46e47f96796635;p=thirdparty%2Fdovecot%2Fcore.git STORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only. --HG-- branch : HEAD --- diff --git a/src/imap/cmd-store.c b/src/imap/cmd-store.c index 4022de7326..da61646386 100644 --- a/src/imap/cmd-store.c +++ b/src/imap/cmd-store.c @@ -101,6 +101,8 @@ int cmd_store(struct client *client) if (box->is_readonly(box)) { /* read-only, don't every try to get write locking */ failed = FALSE; + /* flag changes will fail, notify client about them */ + silent = FALSE; } else { failed = !box->lock(box, MAILBOX_LOCK_FLAGS | MAILBOX_LOCK_READ);