feat: Disable filters for accounts on servers running Sharkey (#610)

Fixes #600.
This commit is contained in:
Nik Clayton 2024-04-09 16:23:04 +02:00 committed by GitHub
parent 7752cf9210
commit dd2efe9795
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -284,9 +284,12 @@ data class Server(
// FireFish can't filter (conversation in the Firefish dev. chat )
FIREFISH -> { }
// Sharkey can't filter, https://activitypub.software/TransFem-org/Sharkey/-/issues/492
SHARKEY -> { }
// Everything else. Assume server side filtering and no translation. This may be an
// incorrect assumption.
AKKOMA, FEDIBIRD, FRIENDICA, GLITCH, HOMETOWN, ICESHRIMP, PIXELFED, PLEROMA, SHARKEY, UNKNOWN -> {
AKKOMA, FEDIBIRD, FRIENDICA, GLITCH, HOMETOWN, ICESHRIMP, PIXELFED, PLEROMA, UNKNOWN -> {
c[ORG_JOINMASTODON_FILTERS_SERVER] = "1.0.0".toVersion()
}
}