This makes it easier to determine in mail_namespaces_added hook if the
namespaces being added are the initial ones or later ones.
*error_r = t_strdup(namespaces->user->error);
return -1;
}
+ namespaces->user->namespaces_created = TRUE;
return 0;
}
bool autocreated:1;
/* mail_user_init() has been called */
bool initialized:1;
+ /* The initial namespaces have been created and
+ hook_mail_namespaces_created() has been called. */
+ bool namespaces_created:1;
/* SET_STR_VARS in user's all settings have been expanded.
This happens near the beginning of the user initialization,
so this is rarely needed to be checked. */