mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 12:58:50 +00:00
fix(calendar(js)): avoid call to /members when expansion is disabled
Expose SOGoLDAPGroupExpansionEnabled in /jsonDefaults to avoid a call to /members when the parameter is disabled.
This commit is contained in:
@@ -365,6 +365,10 @@ static SoProduct *preferencesProduct = nil;
|
||||
[values setObject: [NSNumber numberWithBool: [domainDefaults appointmentSendEMailNotifications]]
|
||||
forKey: @"SOGoAppointmentSendEMailNotifications"];
|
||||
|
||||
// Expose the SOGoLDAPGroupExpansionEnabled configuration parameter from the domain defaults
|
||||
[values setObject: [NSNumber numberWithBool: [domainDefaults ldapGroupExpansionEnabled]]
|
||||
forKey: @"SOGoLDAPGroupExpansionEnabled"];
|
||||
|
||||
// Add locale code (used by CK Editor)
|
||||
[values setObject: [locale objectForKey: @"NSLocaleCode"] forKey: @"LocaleCode"];
|
||||
[values setObject: [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
|
||||
Reference in New Issue
Block a user