From 432f2b63d375a198b7c6bfebd40bd64c4146b771 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 24 Feb 2014 11:29:52 -0600 Subject: [PATCH] imap: Return SPECIAL-USE flags for LSUB command. --- src/imap/cmd-list.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/imap/cmd-list.c b/src/imap/cmd-list.c index 4388690f03..6e54facc05 100644 --- a/src/imap/cmd-list.c +++ b/src/imap/cmd-list.c @@ -435,6 +435,11 @@ bool cmd_list_full(struct client_command_context *cmd, bool lsub) tb-lsub-flags workaround is explicitly set */ ctx->list_flags |= MAILBOX_LIST_ITER_SELECT_SUBSCRIBED | MAILBOX_LIST_ITER_SELECT_RECURSIVEMATCH; + /* Return SPECIAL-USE flags for LSUB anyway. Outlook 2013 + does this and since it's not expensive for us to return + them, it's not worth the trouble of adding an explicit + workaround setting. */ + ctx->list_flags |= MAILBOX_LIST_ITER_RETURN_SPECIALUSE; if ((cmd->client->set->parsed_workarounds & WORKAROUND_TB_LSUB_FLAGS) == 0) ctx->list_flags |= MAILBOX_LIST_ITER_RETURN_NO_FLAGS; -- 2.47.3