Revert "Revert "Disable contact sharing.""

This reverts commit 6e0d92e039.
pull/1/head
Michael Kirk 7 years ago
parent 5b33067240
commit 626573a8a9

@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
// NOTE: When changing the value of this feature flag, you also need // NOTE: When changing the value of this feature flag, you also need
// to update the filtering in the SAE's info.plist. // to update the filtering in the SAE's info.plist.
BOOL kIsSendingContactSharesEnabled = YES; BOOL kIsSendingContactSharesEnabled = NO;
NSString *NSStringForContactPhoneType(OWSContactPhoneType value) NSString *NSStringForContactPhoneType(OWSContactPhoneType value)
{ {

@ -60,8 +60,11 @@
SUBQUERY ( SUBQUERY (
$extensionItem.attachments, $extensionItem.attachments,
$attachment, $attachment,
(
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.data" ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.data"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url"
)
AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.vcard")
).@count >= 1 ).@count >= 1
).@count == 1 ).@count == 1
</string> </string>

Loading…
Cancel
Save