Mercurial > dovecot > core-2.2
changeset 14550:41f2bcb43dad
lib-storage: Don't auto-drop namespaces with only INBOX shared and mail_shared_explicit_inbox=no
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 07 May 2012 23:39:34 +0300 |
parents | 20c9446e537e |
children | 8cdc7c13d6f2 |
files | src/lib-storage/mail-storage.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.c Mon May 07 23:39:01 2012 +0300 +++ b/src/lib-storage/mail-storage.c Mon May 07 23:39:34 2012 +0300 @@ -765,6 +765,10 @@ return 0; } + /* if this is a shared namespace with only INBOX and + mail_shared_explicit_inbox=no, we'll need to mark the namespace as + usable here since nothing else will. */ + box->list->ns->flags |= NAMESPACE_FLAG_USABLE; return 0; }