Disable contact sharing.

This commit is contained in:
Matthew Chen 2018-05-14 16:24:12 -04:00
parent 7b7435c3aa
commit 2b6b8c2f69
2 changed files with 4 additions and 1 deletions

View File

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

View File

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