|
|
@ -49,13 +49,15 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
OWSAssert(self.attachment);
|
|
|
|
OWSAssert(self.attachment);
|
|
|
|
OWSAssert(thread);
|
|
|
|
OWSAssert(thread);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__weak typeof(self) weakSelf = self;
|
|
|
|
|
|
|
|
|
|
|
|
BOOL didShowSNAlert =
|
|
|
|
BOOL didShowSNAlert =
|
|
|
|
[SafetyNumberConfirmationAlert presentAlertIfNecessaryWithRecipientIds:thread.recipientIdentifiers
|
|
|
|
[SafetyNumberConfirmationAlert presentAlertIfNecessaryWithRecipientIds:thread.recipientIdentifiers
|
|
|
|
confirmationText:[SafetyNumberStrings confirmSendButton]
|
|
|
|
confirmationText:[SafetyNumberStrings confirmSendButton]
|
|
|
|
contactsManager:self.contactsManager
|
|
|
|
contactsManager:self.contactsManager
|
|
|
|
completion:^(BOOL didConfirm) {
|
|
|
|
completion:^(BOOL didConfirm) {
|
|
|
|
if (didConfirm) {
|
|
|
|
if (didConfirm) {
|
|
|
|
[self threadWasSelected:thread];
|
|
|
|
[weakSelf threadWasSelected:thread];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
if (didShowSNAlert) {
|
|
|
|
if (didShowSNAlert) {
|
|
|
|