Skip to content

Commit

Permalink
imapc: Fix deleting mailbox
Browse files Browse the repository at this point in the history
Broken by f8f30bd
  • Loading branch information
sirainen committed Jan 22, 2018
1 parent 711f197 commit fe2a627
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib-storage/index/imapc/imapc-sync.c
Expand Up @@ -574,7 +574,8 @@ imapc_mailbox_sync_init(struct mailbox *box, enum mailbox_sync_flags flags)

if (imapc_storage_client_handle_auth_failure(mbox->storage->client))
ret = -1;
else if (!mbox->state_fetched_success && !mbox->state_fetching_uid1) {
else if (!mbox->state_fetched_success && !mbox->state_fetching_uid1 &&
!mbox->box.deleting) {
/* initial FETCH failed already */
ret = -1;
}
Expand Down

0 comments on commit fe2a627

Please sign in to comment.