mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-15 11:51:23 +00:00
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.
This commit is contained in:
@@ -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])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user