• orclev@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    3 months ago

    It’s encoded as a regex which you can find here: https://github.com/LemmyNet/lemmy/blob/78702b59fd56f767f3d5612bfd60e294979f91f8/crates/utils/src/utils/slurs.rs#L74

    It’s honestly not a terrible list, but there’s at least one entry in there that falls victim to the scunthorpe problem, and it sucks that it’s not something administrators can easily customize.

    Edit: looking through the PRs it seems like they made the filter customizable at some point, so this is a little outdated. The whole communist thing still applies though.

    • Optional@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I appreciate the link. I don’t see any political words in the “slur filter”, just, you know, slurs. Which, as far as it goes, I’m fine with that being baked in (language does change over time, but I guess that’s what PRs are for).

      Did it used to say “tankies” in it or something like that?