entity: Instance: fix optional pleroma field type
This commit is contained in:
parent
e14782b691
commit
4741ab524c
|
@ -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()
|
||||
|
|
|
@ -503,6 +503,7 @@ class ComposeActivityTest {
|
|||
),
|
||||
maximumTootCharacters,
|
||||
null,
|
||||
null,
|
||||
null
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue