Test that blurhash is correctly used and fix issue on StickerContent.

This commit is contained in:
Benoit Marty 2024-02-13 00:01:57 +01:00
parent 9af112aa30
commit d33f5543b6
2 changed files with 21 additions and 15 deletions

View file

@ -114,7 +114,8 @@ internal fun InReplyToDetails.metadata(): InReplyToMetadata? = when (eventConten
AttachmentThumbnailInfo(
thumbnailSource = MediaSource(eventContent.url),
textContent = eventContent.body,
type = AttachmentThumbnailType.Image
type = AttachmentThumbnailType.Image,
blurHash = eventContent.info.blurhash,
)
)
is PollContent -> InReplyToMetadata.Thumbnail(