entity: Instance: fix optional pleroma field type

This commit is contained in:
Alibek Omarov 2020-06-25 18:57:47 +03:00
parent 3e9c568e76
commit 3c1b82056c
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ data class Instance (
@SerializedName("max_toot_chars") val maxTootChars: Int?,
@SerializedName("max_bio_chars") val maxBioChars: Int?,
@SerializedName("poll_limits") val pollLimits: PollLimits?,
val pleroma: InstancePleroma
val pleroma: InstancePleroma?
) {
override fun hashCode(): Int {
return uri.hashCode()

View File

@ -503,6 +503,7 @@ class ComposeActivityTest {
),
maximumTootCharacters,
null,
null,
null
)
}