]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Recognize "flags" cache field in MAILBOX_METADATA_PRECACHE_FIELDS.
authorTimo Sirainen <tss@iki.fi>
Wed, 31 Aug 2011 11:25:54 +0000 (14:25 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 31 Aug 2011 11:25:54 +0000 (14:25 +0300)
src/lib-storage/index/index-status.c

index 54e671d07167ccb2e8384f5fef1ee173283d57d9..71171d7d0637549571994fee6203c61d295c5ea4 100644 (file)
@@ -142,7 +142,9 @@ static void get_metadata_precache_fields(struct mailbox *box,
                        cache |= MAIL_FETCH_UIDL_BACKEND;
                else if (strcmp(name, "guid") == 0)
                        cache |= MAIL_FETCH_GUID;
-               else if (box->storage->set->mail_debug)
+               else if (strcmp(name, "flags") == 0) {
+                       /* just ignore for now at least.. */
+               } else if (box->storage->set->mail_debug)
                        i_debug("Ignoring unknown cache field: %s", name);
        }
        metadata_r->precache_fields = cache;