Revert "Disable contact sharing."

This reverts commit e8b41789d7.
This commit is contained in:
Matthew Chen 2018-05-14 16:58:33 -04:00
parent a376de01ef
commit 4949ade274
2 changed files with 1 additions and 4 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 = NO;
BOOL kIsSendingContactSharesEnabled = YES;
NSString *NSStringForContactPhoneType(OWSContactPhoneType value)
{

View File

@ -60,11 +60,8 @@
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>