Skip to content

Commit

Permalink
quota: Fix imapc backend not to try to find out mail's size.
Browse files Browse the repository at this point in the history
This removes unnecessary FETCH RFC822.SIZE command sent to server when
expunging mails.
  • Loading branch information
sirainen committed Jun 12, 2017
1 parent 3618dc3 commit 1a1c693
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/quota/quota-imapc.c
Expand Up @@ -68,6 +68,7 @@ static int imapc_quota_init(struct quota_root *_root, const char *args,
}
if (root->box_name == NULL && root->root_name == NULL)
root->box_name = "INBOX";
_root->auto_updating = TRUE;
/* we'll never try to enforce the quota - it's just a lot of
unnecessary remote GETQUOTA calls. */
_root->no_enforcing = TRUE;
Expand Down

0 comments on commit 1a1c693

Please sign in to comment.