forked from GitHub-Mirror/riotX-android
Fix MessageFileContent crash (no filename)
This commit is contained in:
parent
cc4c1cf308
commit
f9ca8f35bc
@ -7,7 +7,7 @@ import com.squareup.moshi.JsonClass
|
|||||||
data class MessageFileContent(
|
data class MessageFileContent(
|
||||||
@Json(name = "msgtype") override val type: String,
|
@Json(name = "msgtype") override val type: String,
|
||||||
@Json(name = "body") override val body: String,
|
@Json(name = "body") override val body: String,
|
||||||
@Json(name = "filename") val filename: String,
|
@Json(name = "filename") val filename: String? = null,
|
||||||
@Json(name = "info") val info: FileInfo,
|
@Json(name = "info") val info: FileInfo,
|
||||||
@Json(name = "url") val url: String? = null
|
@Json(name = "url") val url: String? = null
|
||||||
) : MessageContent
|
) : MessageContent
|
Loading…
Reference in New Issue
Block a user