|
|
@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
TSAttachmentStream *attachmentStream;
|
|
|
|
TSAttachmentStream *attachmentStream;
|
|
|
|
if ([attachment isKindOfClass:[TSAttachmentStream class]]) {
|
|
|
|
if ([attachment isKindOfClass:[TSAttachmentStream class]]) {
|
|
|
|
attachmentStream = (TSAttachmentStream *)attachment;
|
|
|
|
attachmentStream = (TSAttachmentStream *)attachment;
|
|
|
|
thumbnailImage = attachmentStream.originalImage;
|
|
|
|
thumbnailImage = attachmentStream.thumbnailImageSmallSync;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (attachmentInfo.thumbnailAttachmentPointerId) {
|
|
|
|
} else if (attachmentInfo.thumbnailAttachmentPointerId) {
|
|
|
|
// download failed, or hasn't completed yet.
|
|
|
|
// download failed, or hasn't completed yet.
|
|
|
|