Fall back to backup thumbnail for quoted message attachment

This commit is contained in:
Pete Walters 2026-06-01 12:56:28 -05:00 committed by GitHub
parent 27439824e7
commit c0cedd0026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -452,6 +452,13 @@ public class QuotedReplyModel {
.thumbnailImageSync(quality: .small)
{
return image
} else if
let image = thumbnailReferencedAttachment
.asReferencedBackupThumbnail?
.attachmentBackupThumbnail
.image
{
return image
} else if
let blurHash = thumbnailReferencedAttachment.attachment.blurHash,
let image = BlurHash.image(for: blurHash)