fix crash on old mastodon instances
This commit is contained in:
parent
71f4f0ad2d
commit
0930fab72b
3 changed files with 8 additions and 8 deletions
|
@ -41,8 +41,8 @@ data class Account(
|
|||
@SerializedName("statuses_count") val statusesCount: Int,
|
||||
val source: AccountSource?,
|
||||
val bot: Boolean,
|
||||
val emojis: List<Emoji> = emptyList(),
|
||||
val fields: List<Field> = emptyList(),
|
||||
val emojis: List<Emoji>?, // nullable for backward compatibility
|
||||
val fields: List<Field>?, //nullable for backward compatibility
|
||||
val moved: Account? = null
|
||||
|
||||
) : Parcelable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue