mailbox_get_status() wasn't adding a missing highestmodseq otherwise to the
mailbox list index.
i_array_init(&bbox->uids, 64);
i_array_init(&bbox->sync_pending_removes, 64);
+ /* we use modseqs for being able to check quickly if backend mailboxes
+ have changed. make sure the backend has them enabled. */
+ mailbox_enable(bbox->box, MAILBOX_FEATURE_CONDSTORE);
return 1;
}
}
if (mailbox_sync(bbox->box, sync_flags) < 0)
return -1;
- /* we use modseqs for speeding up initial search result
- build. make sure the backend has them enabled. */
- mail_index_modseq_enable(bbox->box->index);
}
virtual_backend_box_sync_mail_set(bbox);