feat: Support client filters in GoToSocial 0.15.0 (#523)

This commit is contained in:
Nik Clayton 2024-03-11 23:14:57 +01:00 committed by GitHub
parent 805a2a9b1d
commit e93e4ffb53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -273,8 +273,13 @@ data class Server(
}
}
// GoToSocial can't filter, https://github.com/superseriousbusiness/gotosocial/issues/1472
GOTOSOCIAL -> { }
// GoToSocial has client-side filtering, not server-side
GOTOSOCIAL -> {
when {
// Implemented in https://github.com/superseriousbusiness/gotosocial/pull/2594
v >= "0.15.0".toVersion() -> c[ORG_JOINMASTODON_FILTERS_CLIENT] = "1.1.0".toVersion()
}
}
// FireFish can't filter (conversation in the Firefish dev. chat )
FIREFISH -> { }