Improving handling of edge cases in conversation view.

pull/1/head
Matthew Chen 8 years ago
parent 45c7d80d97
commit b3d17ea192

@ -418,7 +418,9 @@ NS_ASSUME_NONNULL_BEGIN
latestInstance.cachedImageHeight = @(imageSize.height);
[latestInstance saveWithTransaction:transaction];
} else {
// This message has not yet been saved; do nothing.
// This message has not yet been saved or has been deleted; do nothing.
// This isn't an error per se, but these race conditions should be
// _very_ rare.
OWSFail(@"%@ Attachment not yet saved.", self.logTag);
}
}];

Loading…
Cancel
Save