Skip to content

Commit a33266c

Browse files
authored
Merge pull request #4111 from surakin/sticker-mimetype-fallback
Change sticker mimetype fallback to image
2 parents 54be31c + 647dcc7 commit a33266c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/factories/event/TimelineItemContentStickerFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class TimelineItemContentStickerFactory @Inject constructor(
3939
isEdited = false,
4040
mediaSource = content.source,
4141
thumbnailSource = content.info.thumbnailSource,
42-
mimeType = content.info.mimetype ?: MimeTypes.OctetStream,
42+
mimeType = content.info.mimetype ?: MimeTypes.Images,
4343
blurhash = content.info.blurhash,
4444
width = content.info.width?.toInt(),
4545
height = content.info.height?.toInt(),

0 commit comments

Comments
 (0)