Is it possible for a user to query the state of a given lemmy server’s federation state?

According to the lemmy documentation the server can be configured with one of three different states of federation:

  1. Open
  2. Blocklist
  3. Allowlist

Unfortunately, I joined a lemmy instance that was set to “allowlist” and therefore I couldn’t interact with most of the lemmy fediverse :(

I’m wondering if it’s possible for non-users to query a server to see what federation state it’s set-to, so that users can be aware of how limited their content will be before they signup.

  • @wintermute@feddit.de
    link
    fedilink
    English
    2
    edit-2
    11 months ago

    if allowed is not null, then the server’s federation is in allowlist state

    this.

    otherwise it’s open federation with or without blocklist

    • @maltfieldOP
      link
      English
      1
      edit-2
      11 months ago

      wait but there’s three states. If it’s not allowlist then it’s either open or blocklist – according to the documentation.

      Are you suggesting that if both are null then the federation state is set to open?