Mercurial > dovecot > core-2.2
changeset 2590:4e18abf93a6d HEAD
Don't force showing INBOX when listing only subscribed mailboxes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 11 Sep 2004 13:38:33 +0300 |
parents | 3a9a34bc0d05 |
children | 1c7a73a05778 |
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 Sat Sep 11 13:28:50 2004 +0300 +++ b/src/imap/cmd-list.c Sat Sep 11 13:38:33 2004 +0300 @@ -146,7 +146,8 @@ } } - if (!ctx->inbox_found && ctx->ns->inbox && ctx->match_inbox) { + if (!ctx->inbox_found && ctx->ns->inbox && ctx->match_inbox && + (ctx->list_flags & MAILBOX_LIST_SUBSCRIBED) == 0) { /* INBOX always exists */ str_truncate(str, 0); str_printfa(str, "* LIST (\\Unmarked) \"%s\" \"INBOX\"",