Merge pull request #4111 from surakin/sticker-mimetype-fallback
Change sticker mimetype fallback to image
This commit is contained in:
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user