Fall back to backup thumbnail for quoted message attachment
This commit is contained in:
parent
27439824e7
commit
c0cedd0026
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user