Fix typo
This commit is contained in:
parent
8cbad6c69c
commit
830dcfb4d6
|
@ -705,7 +705,7 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
|
|||
|
||||
if (self.hasBodyText && message.linkPreview) {
|
||||
self.linkPreview = message.linkPreview;
|
||||
if (message.linkPreview.imageAttachmentId && message.linkPreview.imageAttachmentId.length) {
|
||||
if (message.linkPreview.imageAttachmentId && message.linkPreview.imageAttachmentId.length > 0) {
|
||||
TSAttachment *_Nullable linkPreviewAttachment =
|
||||
[TSAttachment fetchObjectWithUniqueID:message.linkPreview.imageAttachmentId transaction:transaction];
|
||||
if (!linkPreviewAttachment) {
|
||||
|
|
Loading…
Reference in New Issue