[dovecot-cvs] dovecot/src/imap cmd-list.c,1.42,1.43
cras at dovecot.org
cras at dovecot.org
Sat Sep 11 13:38:35 EEST 2004
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv6602
Modified Files:
cmd-list.c
Log Message:
Don't force showing INBOX when listing only subscribed mailboxes.
Index: cmd-list.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- cmd-list.c 11 Sep 2004 10:28:50 -0000 1.42
+++ cmd-list.c 11 Sep 2004 10:38:33 -0000 1.43
@@ -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\"",
More information about the dovecot-cvs
mailing list