Instance: a way to check if we have Pleroma with Mastodon API extensions
This commit is contained in:
parent
0a516eaf13
commit
cdc3dafdda
|
@ -43,6 +43,10 @@ data class Instance (
|
|||
val instance = other as Instance?
|
||||
return instance?.uri.equals(uri)
|
||||
}
|
||||
|
||||
fun isPleroma(): Boolean {
|
||||
return version.contains(" (compatible; Pleroma ");
|
||||
}
|
||||
}
|
||||
|
||||
data class PollLimits (
|
||||
|
|
Loading…
Reference in New Issue