]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imapc: Add MAIL_STORAGE_CLASS_FLAG_SECONDARY_INDEX storage class flag
authorMarkus Valentin <markus.valentin@open-xchange.com>
Wed, 15 Sep 2021 12:44:42 +0000 (14:44 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Mon, 27 Sep 2021 22:46:10 +0000 (22:46 +0000)
Add SECONDARY_INDEX storage class flag to enable storing shared private
indexes in obox user root bundle.

src/lib-storage/index/imapc/imapc-storage.c

index 520dc52368288ff0522b0e10202002704ddcc575..71d9bb768df59980ac7a27a719f3b2f48c1ab330 100644 (file)
@@ -1253,7 +1253,8 @@ static bool imapc_is_inconsistent(struct mailbox *box)
 struct mail_storage imapc_storage = {
        .name = IMAPC_STORAGE_NAME,
        .class_flags = MAIL_STORAGE_CLASS_FLAG_NO_ROOT |
-                      MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT,
+                      MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT |
+                      MAIL_STORAGE_CLASS_FLAG_SECONDARY_INDEX,
        .event_category = &event_category_imapc,
 
        .v = {