mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Ad default value to MessageStickerContent.body in case of redaction
This commit is contained in:
parent
a8f3bb1d4e
commit
dd81584076
@ -34,7 +34,7 @@ data class MessageStickerContent(
|
||||
* Required. A textual representation of the image. This could be the alt text of the image, the filename of the image,
|
||||
* or some kind of content description for accessibility e.g. 'image attachment'.
|
||||
*/
|
||||
@Json(name = "body") override val body: String,
|
||||
@Json(name = "body") override val body: String = "",
|
||||
|
||||
/**
|
||||
* Metadata about the image referred to in url.
|
||||
|
Loading…
Reference in New Issue
Block a user