Don't cache CNContact.

pull/1/head
Matthew Chen 7 years ago
parent 83f11ad79b
commit d3d9d2e64c

@ -198,7 +198,8 @@ NS_ASSUME_NONNULL_BEGIN
}
CNContact *_Nullable cnContact = [self.contactsManager cnContactWithId:contact.cnContactId];
if (!cnContact) {
// TODO:
OWSFail(@"%@ Could not load system contact.", self.logTag);
return;
}
[self.contactsViewHelper presentContactViewControllerForRecipientId:self.recipientId
fromViewController:self

Loading…
Cancel
Save