Revert "Revert "Disable contact sharing.""

This reverts commit 91af7d3855.
This commit is contained in:
Michael Kirk 2018-06-28 19:17:25 -06:00
parent 66b0a2f1df
commit 57e3d0d5f9
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>