• flamingos-cant@feddit.ukM
    link
    fedilink
    English
    arrow-up
    16
    ·
    14 days ago

    It’s because Piefed is returning the wrong Content-Type for moderator collections specifically. You’re returning application/json not application/activity+json.

    curl -H 'Accept: application/activity+json' -v https://piefed.social/c/50501/moderators 2>&1 | grep content-type
    < content-type: application/json
    < x-content-type-options: nosniff
    

    I assume this is why MBin also doesn’t report any moderators for that community https://fedia.io/m/[email protected].

    • freamon@preferred.social
      link
      fedilink
      English
      arrow-up
      12
      ·
      14 days ago

      Ah, shit. Cheers. The amount of things learned from the comments under memes is probably a bit high, but I’ll send a commit to fix this in a minute.

      Does Lemmy look at the mods URL again when it decides to refresh a community (or when it receives an Update / Group) ? If not, then PieFed instances might need to send out some “Add” activities.

      • flamingos-cant@feddit.ukM
        link
        fedilink
        English
        arrow-up
        10
        ·
        edit-2
        14 days ago

        The amount of things learned from the comments under memes is probably a bit high, but I’ll send a commit to fix this in a minute.

        Who needs an issues tracker when you have a meme tracker, eh?

        Does Lemmy look at the mods URL again when it decides to refresh a community (or when it receives an Update / Group)

        Yes to both. Updating a community and fetching a new community are identical operations in Lemmy.