Send SVG images as files (#4595)

Since Android doesn't have support for SVG files we can't create a thumbnail or get the dimensions and other metadata needed for the `m.image` message type, so we need to send them as plain files
This commit is contained in:
Jorge Martin Espinosa
2025-04-15 17:05:09 +02:00
committed by GitHub
parent 6c8ab28707
commit fe5d9b4308
2 changed files with 6 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ object MimeTypes {
const val Jpeg = "image/jpeg"
const val Gif = "image/gif"
const val WebP = "image/webp"
const val Svg = "image/svg+xml"
const val Videos = "video/*"
const val Mp4 = "video/mp4"