mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 04:47:14 +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:
1 parent
9c299cf0de
commit
14b60cd756
2 files changed
+5
-1
No files matched your search
@@ -182,7 +182,7 @@
|
||||
if (!_.find(this.attendees, function(o) {
|
||||
return o.email == attendee.email;
|
||||
})) {
|
||||
if (card.$isList()) {
|
||||
if (card.$isList() && Attendees.$Preferences.defaults.SOGoLDAPGroupExpansionEnabled) {
|
||||
// LDAP list -- preload members
|
||||
card.$members().then(function(members) {
|
||||
attendee.members = members;
|
||||
|
||||
Reference in new issue
Block a user