Commit 2b22baac authored by Thomas Glanzmann's avatar Thomas Glanzmann

this patch doesn't raise an error if you try to sync an empty mailbox

which makes it possible to use such a macro as this on an empty
mailbox:

macro index y "<sync-mailbox><change-folder>?"
macro pager y "<sync-mailbox><change-folder>?"
parent 495daeae
......@@ -984,6 +984,9 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE);
case OP_MAIN_SYNC_FOLDER:
if (Context && !Context->msgcount)
break;
CHECK_MSGCOUNT;
CHECK_VISIBLE;
CHECK_READONLY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment