this post was submitted on 12 Apr 2025
57 points (95.2% liked)

Fediverse memes

1274 readers
13 users here now

Memes about the Fediverse.

Rules

General
Specific

Elsewhere in the Fediverse

Other relevant communities:

founded 6 months ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] freamon@preferred.social 18 points 6 days ago (6 children)

PieFed isn't hiding mods - when Lemmy fails to get them, it's for its own mysterious reasons.

In ActivityPub, to get the moderators of this community you can do this from the command-line:
curl --header 'accept: application/activity+json' --location https://feddit.uk/c/fedimemes/moderators | jq .orderedItems

To get the moderators of a PieFed community, it's exactly the same:
curl --header 'accept: application/activity+json' --location https://piefed.social/c/50501/moderators | jq .orderedItems

In both cases, the mods URL comes from the attributedTo field for the community.

[–] flamingos@feddit.uk 16 points 6 days ago (3 children)

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/50501@piefed.social.

[–] freamon@preferred.social 12 points 6 days ago (2 children)

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@feddit.uk 10 points 6 days ago* (last edited 6 days ago) (1 children)

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.

[–] Sunshine@lemmy.ca 10 points 6 days ago

Wow I encouraged smart people to figure something out 🍾

load more comments (2 replies)