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
parent
9d1d12af54
commit
edc01e9532
|
@ -405,7 +405,8 @@
|
||||||
result = nil;
|
result = nil;
|
||||||
contact = [self clientObject];
|
contact = [self clientObject];
|
||||||
source = [[contact container] source];
|
source = [[contact container] source];
|
||||||
dict = [[SOGoUserManager sharedUserManager] contactInfosForUserWithUIDorEmail: [contact nameInContainer]];
|
dict = [source lookupContactEntryWithUIDorEmail: [contact nameInContainer]
|
||||||
|
inDomain: nil];
|
||||||
|
|
||||||
if ([[dict objectForKey: @"isGroup"] boolValue])
|
if ([[dict objectForKey: @"isGroup"] boolValue])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue