]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: shared - Copy shared namespace name to dynamically created shared namespace
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 20 Nov 2023 12:57:59 +0000 (14:57 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 12 Feb 2025 10:34:10 +0000 (12:34 +0200)
This allows matching config for namespace specific settings
for shared namespaces too.

src/lib-storage/index/shared/shared-storage.c

index 4e57abb9bacaa03118bb7599b4d39ea0da44a5df..b3b31bc8d04d1df8cccd9086adb14c146db442bf 100644 (file)
@@ -422,6 +422,7 @@ shared_mail_user_init(struct mail_storage *_storage,
 
        struct mail_namespace_settings *ns_set =
                p_new(user->pool, struct mail_namespace_settings, 1);
+       ns_set->name = ns->set->name;
        ns_set->type = "shared";
        ns_set->separator = p_strdup_printf(user->pool, "%c",
                                            mail_namespace_get_sep(ns));