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:
parent
9e2ff83f73
commit
b07888e807
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue