fix(calendar): allow fetching group members from contacts-only sources

If a group is invited to an event, search members within the known source
of the contact instead of relying on a global search among "canAuthenticate" sources.
pull/265/head
Francis Lachapelle 2019-12-10 12:25:40 -05:00
parent 9d1d12af54
commit edc01e9532
1 changed files with 2 additions and 1 deletions

View File

@ -405,7 +405,8 @@
result = nil;
contact = [self clientObject];
source = [[contact container] source];
dict = [[SOGoUserManager sharedUserManager] contactInfosForUserWithUIDorEmail: [contact nameInContainer]];
dict = [source lookupContactEntryWithUIDorEmail: [contact nameInContainer]
inDomain: nil];
if ([[dict objectForKey: @"isGroup"] boolValue])
{