fix crash when opening some audio attachments (#2002)
This commit is contained in:
parent
3558d441a4
commit
9793035a3d
|
@ -28,7 +28,7 @@ import kotlinx.android.parcel.Parcelize
|
||||||
data class Attachment(
|
data class Attachment(
|
||||||
val id: String,
|
val id: String,
|
||||||
val url: String,
|
val url: String,
|
||||||
@SerializedName("preview_url") val previewUrl: String,
|
@SerializedName("preview_url") val previewUrl: String?, // can be null for e.g. audio attachments
|
||||||
val meta: MetaData?,
|
val meta: MetaData?,
|
||||||
val type: Type,
|
val type: Type,
|
||||||
val description: String?,
|
val description: String?,
|
||||||
|
|
Loading…
Reference in New Issue