Mercurial > dovecot > core-2.2
changeset 12636:fa4b84059ae2
IMAP LIST: Never return subscribed children state if RECURSIVEMATCH isn't specified.
Not even when backends give it automatically.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 02 Feb 2011 05:31:46 +0200 |
parents | 4fdf3084f74f |
children | 4e4c7f982fd5 |
files | src/imap/cmd-list.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-list.c Wed Feb 02 01:43:08 2011 +0200 +++ b/src/imap/cmd-list.c Wed Feb 02 05:31:46 2011 +0200 @@ -87,7 +87,8 @@ if (!ctx->used_listext) return; - if ((flags & MAILBOX_CHILD_SUBSCRIBED) != 0) + if ((flags & MAILBOX_CHILD_SUBSCRIBED) != 0 && + (ctx->list_flags & MAILBOX_LIST_ITER_SELECT_RECURSIVEMATCH) != 0) str_append(str, " (CHILDINFO (\"SUBSCRIBED\"))"); }