From edc01e95329cc0d8a61ca9217cde20ba0744a74a Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 10 Dec 2019 12:25:40 -0500 Subject: [PATCH] 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. --- UI/Contacts/UIxContactView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/Contacts/UIxContactView.m b/UI/Contacts/UIxContactView.m index 73f22c399..84ae2f5f1 100644 --- a/UI/Contacts/UIxContactView.m +++ b/UI/Contacts/UIxContactView.m @@ -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]) {