Merge pull request #4111 from surakin/sticker-mimetype-fallback

Change sticker mimetype fallback to image
This commit is contained in:
Benoit Marty 2025-01-06 11:26:19 +01:00 committed by GitHub
commit a33266ca0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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