diff --git a/src/lib-storage/index/index-status.c b/src/lib-storage/index/index-status.c index d186f2849f..70dd2ab596 100644 --- a/src/lib-storage/index/index-status.c +++ b/src/lib-storage/index/index-status.c @@ -185,6 +185,7 @@ void index_storage_get_open_status(struct mailbox *box, status_r->allow_new_keywords = !box->disallow_new_keywords; } + status_r->flags = MAIL_FLAGS_NONRECENT; } } diff --git a/src/lib-storage/mail-storage.h b/src/lib-storage/mail-storage.h index b329b314cf..c0fec6f9a9 100644 --- a/src/lib-storage/mail-storage.h +++ b/src/lib-storage/mail-storage.h @@ -258,6 +258,8 @@ struct mailbox_status { /* These flags can be permanently modified (STATUS_PERMANENT_FLAGS) */ enum mail_flags permanent_flags; + /* These flags can be modified (STATUS_PERMANENT_FLAGS) */ + enum mail_flags flags; /* All keywords can be permanently modified (STATUS_PERMANENT_FLAGS) */ bool permanent_keywords:1;