this post was submitted on 12 Apr 2025
52 points (94.8% liked)

Fediverse memes

1245 readers
538 users here now

Memes about the Fediverse.

Rules

General
Specific

Elsewhere in the Fediverse

Other relevant communities:

founded 6 months ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 20 hours ago (3 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.

[–] [email protected] 14 points 19 hours ago (1 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/[email protected].

[–] [email protected] 10 points 18 hours ago (1 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.

[–] [email protected] 8 points 18 hours ago* (last edited 17 hours 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.

[–] [email protected] 7 points 14 hours ago

Wow I encouraged smart people to figure something out 🍾

[–] [email protected] 10 points 20 hours ago

own mysterious reasons.

Another Threadiverse mysterty

[–] [email protected] 3 points 19 hours ago

Might be the way in which the data presents? The path can be identical, but if one service receives a metaphorical PNG when expecting a metaphorical JPEG, it could explain why it fails to correctly register.

[–] [email protected] 7 points 20 hours ago (1 children)

mbin calls them magazines btw

[–] [email protected] 4 points 19 hours ago (1 children)
[–] [email protected] 3 points 19 hours ago