From: Timo Sirainen Date: Mon, 24 Feb 2014 17:29:52 +0000 (-0600) Subject: imap: Return SPECIAL-USE flags for LSUB command. X-Git-Tag: 2.2.13.rc1~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432f2b63d375a198b7c6bfebd40bd64c4146b771;p=thirdparty%2Fdovecot%2Fcore.git imap: Return SPECIAL-USE flags for LSUB command. --- 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;