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 Alibek Omarov
parent 28a02cf72a
commit e0582319a7

View File

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