mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Fix #253 / Image with no mimetype in info
This commit is contained in:
parent
0d433b2620
commit
9224fcabfa
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ import com.squareup.moshi.JsonClass
|
|||
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class ImageInfo(
|
||||
@Json(name = "mimetype") val mimeType: String,
|
||||
@Json(name = "mimetype") val mimeType: String?,
|
||||
@Json(name = "w") val width: Int = 0,
|
||||
@Json(name = "h") val height: Int = 0,
|
||||
@Json(name = "size") val size: Int = 0,
|
||||
|
|
Loading…
Reference in a new issue