per-session flags, but we'll leave it as FIXME for now..
--HG--
branch : HEAD
int failed;
if (box->readonly) {
- mail_storage_set_error(box->storage, "Mailbox is read-only");
- return FALSE;
+ box->storage->callbacks->
+ notify_no(&ibox->box,
+ "Mailbox is read-only, ignoring expunge",
+ box->storage->callback_context);
+ return TRUE;
}
if (!index_storage_lock(ibox, MAIL_LOCK_EXCLUSIVE))
int ret, ret2;
if (box->readonly) {
+ /* FIXME: we should use memory */
mail_storage_set_error(box->storage, "Mailbox is read-only");
return FALSE;
}