|
|
@ -379,7 +379,7 @@ NSString *NSStringForOutgoingMessageRecipientState(OWSOutgoingMessageRecipientSt
|
|
|
|
TSAttachment *_Nullable attachment =
|
|
|
|
TSAttachment *_Nullable attachment =
|
|
|
|
[TSAttachment fetchObjectWithUniqueID:attachmentId transaction:transaction];
|
|
|
|
[TSAttachment fetchObjectWithUniqueID:attachmentId transaction:transaction];
|
|
|
|
if (!attachment) {
|
|
|
|
if (!attachment) {
|
|
|
|
OWSCFail(@"%@ couldn't load interaction's attachment for deletion.", TSOutgoingMessage.logTag);
|
|
|
|
DDLogError(@"%@ couldn't load interaction's attachment for deletion.", TSOutgoingMessage.logTag);
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
[attachment removeWithTransaction:transaction];
|
|
|
|
[attachment removeWithTransaction:transaction];
|
|
|
|