Add support for instance property max_bio_chars
(#1414)
* Migrate getInstance from Call to Single * Add support for instance max_bio_chars. Addresses #1329
This commit is contained in:
parent
9805a985b2
commit
ce01e6de22
7 changed files with 65 additions and 56 deletions
|
@ -28,7 +28,8 @@ data class Instance (
|
|||
val thumbnail: String?,
|
||||
val languages: List<String>,
|
||||
@SerializedName("contact_account") val contactAccount: Account,
|
||||
@SerializedName("max_toot_chars") val maxTootChars: Int?
|
||||
@SerializedName("max_toot_chars") val maxTootChars: Int?,
|
||||
@SerializedName("max_bio_chars") val maxBioChars: Int?
|
||||
) {
|
||||
override fun hashCode(): Int {
|
||||
return uri.hashCode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue