I run a few niche communities that would benefit from not being visible when people browse local or all. Is this possible?

  • Terevos@lemm.eeOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    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.

    • RoundSparrow@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      There is a database field, and the SELECT queries exclude it just as they do if a community is blocked.

      • Terevos@lemm.eeOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Oh. OK. That makes sense to do it with the SQL. Probably faster that way

        • limelight79@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          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…”.

        • RoundSparrow@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          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.