If there's no mime type in the sticker event we can safely assume it's an image anyway.

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
This commit is contained in:
Marco Antonio Alvarez
2025-01-04 19:41:04 +01:00
parent 9e2ff83f73
commit b07888e807

View File

@@ -39,7 +39,7 @@ class TimelineItemContentStickerFactory @Inject constructor(
isEdited = false,
mediaSource = content.source,
thumbnailSource = content.info.thumbnailSource,
mimeType = content.info.mimetype ?: MimeTypes.OctetStream,
mimeType = content.info.mimetype ?: MimeTypes.Images,
blurhash = content.info.blurhash,
width = content.info.width?.toInt(),
height = content.info.height?.toInt(),