I still can’t find a call function. I’ve tried going right at API paths that seem defined, but it gives me a 404 on testing system. It seems the ability to set or clear it on a community is disabled. But I’m not entirely confident in reading the code correctly.
You would need to build it into every call for showing local and all posts. Maybe there’s already a feature request for it.
I haven’t explored Lemmy code really at all. But it likely wouldn’t be all that difficult to implement.
Oh. You linked to the client. I think I’d build this into the API itself.
There is a database field, and the SELECT queries exclude it just as they do if a community is blocked.
Oh. OK. That makes sense to do it with the SQL. Probably faster that way
Hell even the bicycling community could use this. People who hate cars show up and spread shit.
It’s not hard to imagine LGBT communities, for example, and what they’ll go through without this.
Edit I replied to the wrong comment. I’m leaving it though!
Edit 2: Obviously that should say “…people who hate bicycles…”.
I still can’t find a call function. I’ve tried going right at API paths that seem defined, but it gives me a 404 on testing system. It seems the ability to set or clear it on a community is disabled. But I’m not entirely confident in reading the code correctly.