From: Timo Sirainen Date: Sat, 28 Jan 2017 23:08:23 +0000 (+0200) Subject: imap: Use struct mailbox_status.flags for FLAGS reply X-Git-Tag: 2.3.0.rc1~2252 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16b3bcea47b5f7a7cfbc4e62331b4d49c12d7490;p=thirdparty%2Fdovecot%2Fcore.git imap: Use struct mailbox_status.flags for FLAGS reply --- diff --git a/src/imap/imap-commands-util.c b/src/imap/imap-commands-util.c index 4f81491cbc..e1cf762879 100644 --- a/src/imap/imap-commands-util.c +++ b/src/imap/imap-commands-util.c @@ -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));