From 9f1a154d6f436e67f22f737f66bb148b502d4d2a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 31 Aug 2009 19:16:12 -0400 Subject: [PATCH] lib-storage: Allow selecting namespace prefix even when list=no. --HG-- branch : HEAD --- src/lib-storage/mailbox-list.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib-storage/mailbox-list.c b/src/lib-storage/mailbox-list.c index 150b8bb07c..8abd0b2820 100644 --- a/src/lib-storage/mailbox-list.c +++ b/src/lib-storage/mailbox-list.c @@ -472,8 +472,7 @@ bool mailbox_list_is_valid_pattern(struct mailbox_list *list, bool mailbox_list_is_valid_existing_name(struct mailbox_list *list, const char *name) { - if (*name == '\0' && *list->ns->prefix != '\0' && - (list->ns->flags & NAMESPACE_FLAG_LIST_PREFIX) != 0) { + if (*name == '\0' && *list->ns->prefix != '\0') { /* an ugly way to get to mailbox root (e.g. Maildir/ when it's not the INBOX) */ return TRUE; -- 2.47.3