diff --git a/SignalServiceKit/src/Messages/Interactions/OWSContact.m b/SignalServiceKit/src/Messages/Interactions/OWSContact.m index a05c514b8..9041dcea2 100644 --- a/SignalServiceKit/src/Messages/Interactions/OWSContact.m +++ b/SignalServiceKit/src/Messages/Interactions/OWSContact.m @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN // NOTE: When changing the value of this feature flag, you also need // to update the filtering in the SAE's info.plist. -BOOL kIsSendingContactSharesEnabled = YES; +BOOL kIsSendingContactSharesEnabled = NO; NSString *NSStringForContactPhoneType(OWSContactPhoneType value) { diff --git a/SignalShareExtension/Info.plist b/SignalShareExtension/Info.plist index af327b467..c519a6721 100644 --- a/SignalShareExtension/Info.plist +++ b/SignalShareExtension/Info.plist @@ -60,8 +60,11 @@ SUBQUERY ( $extensionItem.attachments, $attachment, + ( ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.data" || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" + ) + AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.vcard") ).@count >= 1 ).@count == 1