Skip to content

Commit

Permalink
imapc: Fixed EXPUNGE handling when imapc_features didn't have modseq
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Apr 29, 2016
1 parent 749097c commit de8fc9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib-storage/index/imapc/imapc-mailbox.c
Expand Up @@ -470,7 +470,8 @@ static void imapc_untagged_expunge(const struct imapc_untagged_reply *reply,
}
uid = imapc_msgmap_rseq_to_uid(msgmap, rseq);
imapc_msgmap_expunge(msgmap, rseq);
array_delete(&mbox->rseq_modseqs, rseq-1, 1);
if (array_is_created(&mbox->rseq_modseqs))
array_delete(&mbox->rseq_modseqs, rseq-1, 1);

imapc_mailbox_init_delayed_trans(mbox);
if (mail_index_lookup_seq(mbox->sync_view, uid, &lseq))
Expand Down

0 comments on commit de8fc9d

Please sign in to comment.