mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix regression
This commit is contained in:
parent
1e0f820eb8
commit
fdb624369c
|
@ -1978,6 +1978,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if (message.linkPreview.imageAttachmentId != nil) {
|
if (message.linkPreview.imageAttachmentId != nil) {
|
||||||
TSAttachment *attachment =
|
TSAttachment *attachment =
|
||||||
[TSAttachment fetchObjectWithUniqueID:message.linkPreview.imageAttachmentId transaction:transaction];
|
[TSAttachment fetchObjectWithUniqueID:message.linkPreview.imageAttachmentId transaction:transaction];
|
||||||
|
@ -1987,6 +1988,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
|
||||||
OWSFailDebug(@"unexpected attachment: %@", attachment);
|
OWSFailDebug(@"unexpected attachment: %@", attachment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// All outgoing messages should be saved at the time they are enqueued.
|
// All outgoing messages should be saved at the time they are enqueued.
|
||||||
[message saveWithTransaction:transaction];
|
[message saveWithTransaction:transaction];
|
||||||
|
|
|
@ -68,7 +68,7 @@ NSString *const OWSOperationKeyIsFinished = @"isFinished";
|
||||||
// Don't proceed if dependency failed - surface the dependency's error.
|
// Don't proceed if dependency failed - surface the dependency's error.
|
||||||
NSError *_Nullable dependencyError = dependentOperation.failingError;
|
NSError *_Nullable dependencyError = dependentOperation.failingError;
|
||||||
if (dependencyError != nil) {
|
if (dependencyError != nil) {
|
||||||
// return dependencyError;
|
return dependencyError;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue