|
|
|
@ -162,7 +162,9 @@ NSString *NSStringForContactAddressType(OWSContactAddressType value);
|
|
|
|
|
|
|
|
|
|
|
|
#pragma mark - System Contact Conversion
|
|
|
|
#pragma mark - System Contact Conversion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// `contactForSystemContact` does *not* handle avatars. That must be delt with by the caller
|
|
|
|
+ (nullable OWSContact *)contactForSystemContact:(CNContact *)systemContact;
|
|
|
|
+ (nullable OWSContact *)contactForSystemContact:(CNContact *)systemContact;
|
|
|
|
|
|
|
|
|
|
|
|
+ (nullable CNContact *)systemContactForContact:(OWSContact *)contact imageData:(nullable NSData *)imageData;
|
|
|
|
+ (nullable CNContact *)systemContactForContact:(OWSContact *)contact imageData:(nullable NSData *)imageData;
|
|
|
|
|
|
|
|
|
|
|
|
#pragma mark - Proto Serialization
|
|
|
|
#pragma mark - Proto Serialization
|
|
|
|
|