Skip to content

Commit

Permalink
feat: Disable filters for accounts on servers running Sharkey (#610)
Browse files Browse the repository at this point in the history
Fixes #600.
  • Loading branch information
nikclayton authored Apr 9, 2024
1 parent 7752cf9 commit dd2efe9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit dd2efe9

Please sign in to comment.