Revert "Disable contact sharing."

This reverts commit e27af7a66d.
This commit is contained in:
Matthew Chen 2018-05-15 17:07:18 -04:00
parent 3f5d8aa9ba
commit a62e86c7ab
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>