]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: Use struct mailbox_status.flags for FLAGS reply
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sat, 28 Jan 2017 23:08:23 +0000 (01:08 +0200)
committerGitLab <gitlab@git.dovecot.net>
Sun, 29 Jan 2017 18:02:37 +0000 (20:02 +0200)
src/imap/imap-commands-util.c

index 4f81491cbc6359da1a477b2f42096cd425977db4..e1cf762879c09ae00a4512de17369a16ed0ba0b6 100644 (file)
@@ -279,7 +279,7 @@ void client_send_mailbox_flags(struct client *client, bool selecting)
                array_idx(client->keywords.names, 0);
        str = t_str_new(128);
        str_append(str, "* FLAGS (");
-       imap_write_flags(str, MAIL_FLAGS_NONRECENT, keywords);
+       imap_write_flags(str, status.flags, keywords);
        str_append_c(str, ')');
        client_send_line(client, str_c(str));