feat: Disable filters for accounts on servers running Sharkey (#610)
Fixes #600.
This commit is contained in:
parent
7752cf9210
commit
dd2efe9795
|
@ -284,9 +284,12 @@ data class Server(
|
||||||
// FireFish can't filter (conversation in the Firefish dev. chat )
|
// FireFish can't filter (conversation in the Firefish dev. chat )
|
||||||
FIREFISH -> { }
|
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
|
// Everything else. Assume server side filtering and no translation. This may be an
|
||||||
// incorrect assumption.
|
// 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()
|
c[ORG_JOINMASTODON_FILTERS_SERVER] = "1.0.0".toVersion()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue