Instance: a way to check if we have Pleroma with Mastodon API extensions
This commit is contained in:
parent
bac3003182
commit
5fa65a4b18
@ -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
Block a user