I joined Lemmy back in 2020 and have been using it as @[email protected] until somewhere in 2023 when I switched to lemmy.world. I’m interested in systemd/Linux, FOSS, and Selfhosting.


Is that specifically added for that person that uses þ all the time?


I’ve made a PR


Wasn’t that only blocking slurs and not specific communities?


You go to https://INSTANCE_DOMAIN/c/COMMUNITY_NAME@COMMUNITY_DOMAIN and press Join


Let’s not make those assumptions based on an old filter list


I don’t think that’s the reason. The code mentions it filtering out “low-effort” communities so the devs probably didn’t like seeing so many posts from it on their frontpage.
# sort out the 'seven things you can't say on tv' names (cursewords), plus some
# "low effort" communities
It’s helpful if you want to watch foreign news I guess


Only if you have free / cheap electricity


It’s lemmy.ml, I wouldn’t count on it




That doesn’t make any sense because it doesn’t block the new 196 community because it uses letters


I think a regex to filter out common slurs isn’t really the same
The regex:
(fag(g|got|tard)?\b|cock\s?sucker(s|ing)?|ni((g{2,}|q)+|[gq]{2,})[e3r]+(s|z)?|mudslime?s?|kikes?|\bspi(c|k)s?\b|\bchinks?|gooks?|bitch(es|ing|y)?|whor(es?|ing)|\btr(a|@)nn?(y|ies?)|\b(b|re|r)tard(ed)?s?)


It has been removed from 2/3 places in the codebase. I’m guessing they missed the other list so I’ve opened an issue and PR on Codeberg.


Actually, they only removed it from 2 places. It’s still there https://codeberg.org/rimu/pyfedi/src/branch/main/app/cli.py#L1026


I think the communities were added manually


Now you mention it, I haven’t seen your community either.
EDIT: It was also filtered out, I had to add it manually


I definitely understand wanting to filter out obscenities, but I think the filtered communities should be a seperate configurable list.


It’s hardcoded in the PieFed source code, so every instance does this by default unless you patch it like I did.
The combined swearwords + excluded communities list seems to appear at least 3 times in the codebase (not referenced, copied verbatim).
Let’s just say that it wouldn’t pass my code review if I saw this at work
EDIT: It has been removed from 2/3 places in the codebase.
Yes they’re keywords, but they also happen to be the exact names of threadiverse 8 communities, so that’s pretty specific to me.