fix crash when opening some audio attachments (#2002)

This commit is contained in:
Konrad Pozniak 2020-12-01 07:39:15 +01:00 committed by GitHub
parent 3558d441a4
commit 9793035a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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?,