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

View file

@ -28,7 +28,7 @@ import kotlinx.android.parcel.Parcelize
data class Attachment(
val id: 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 type: Type,
val description: String?,