Disable contact sharing.

pull/1/head
Matthew Chen 7 years ago
parent 7b7435c3aa
commit 2b6b8c2f69

@ -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