mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 09:55:40 +03:00
Ad default value to MessageStickerContent.body in case of redaction
This commit is contained in:
parent
a8f3bb1d4e
commit
dd81584076
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue