dovecot-1.2: Allow shared namespaces to have subscriptions=yes.

dovecot at dovecot.org dovecot at dovecot.org
Sat Apr 18 00:20:29 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/0dcb7e34a216
changeset: 8967:0dcb7e34a216
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Apr 17 17:20:24 2009 -0400
description:
Allow shared namespaces to have subscriptions=yes.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/lib-storage/index/shared/shared-storage.c |    3 ++-

diffs (13 lines):

diff -r b9e7bea1d70a -r 0dcb7e34a216 src/lib-storage/index/shared/shared-storage.c
--- a/src/lib-storage/index/shared/shared-storage.c	Fri Apr 17 15:40:31 2009 -0400
+++ b/src/lib-storage/index/shared/shared-storage.c	Fri Apr 17 17:20:24 2009 -0400
@@ -250,7 +250,8 @@ int shared_storage_get_namespace(struct 
 	ns->user = user;
 	ns->prefix = i_strdup(str_c(prefix));
 	ns->owner = owner;
-	ns->flags = NAMESPACE_FLAG_LIST_PREFIX | NAMESPACE_FLAG_HIDDEN |
+	ns->flags = (NAMESPACE_FLAG_SUBSCRIPTIONS & _storage->ns->flags) |
+		NAMESPACE_FLAG_LIST_PREFIX | NAMESPACE_FLAG_HIDDEN |
 		NAMESPACE_FLAG_AUTOCREATED | NAMESPACE_FLAG_INBOX;
 	ns->sep = _storage->ns->sep;
 


More information about the dovecot-cvs mailing list