]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
virtual: Add storage flag for secondary index
authorMarkus Valentin <markus.valentin@open-xchange.com>
Tue, 13 Jul 2021 11:32:09 +0000 (13:32 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 10 Sep 2021 12:11:25 +0000 (12:11 +0000)
src/plugins/virtual/virtual-storage.c

index debc6b4783c08e7a24ab97ded24462b0b63324fc..a01510f91787cf34ef949ab065c7ca4e38cc3e84 100644 (file)
@@ -877,7 +877,8 @@ virtual_list_index_update_sync(struct mailbox *box ATTR_UNUSED,
 
 struct mail_storage virtual_storage = {
        .name = VIRTUAL_STORAGE_NAME,
-       .class_flags = MAIL_STORAGE_CLASS_FLAG_NOQUOTA,
+       .class_flags = MAIL_STORAGE_CLASS_FLAG_NOQUOTA |
+                      MAIL_STORAGE_CLASS_FLAG_SECONDARY_INDEX,
 
        .v = {
                NULL,