|
|
|
@ -1182,7 +1182,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
|
|
|
|
|
NSMutableArray<NSString *> *attachmentIds = [NSMutableArray new];
|
|
|
|
|
for (NSString *attachmentId in outgoingMessage.attachmentIds) {
|
|
|
|
|
TSAttachmentStream *_Nullable outgoingAttachment =
|
|
|
|
|
[TSAttachmentStream fetchObjectWithUniqueID:attachmentId];
|
|
|
|
|
[TSAttachmentStream fetchObjectWithUniqueID:attachmentId transaction:transaction];
|
|
|
|
|
OWSAssert(outgoingAttachment);
|
|
|
|
|
if (!outgoingAttachment) {
|
|
|
|
|
DDLogError(@"%@ Couldn't load outgoing attachment for message sent to self.", self.logTag);
|
|
|
|
|