Sorry if i don’t understand this on the technical level but if we want peertube videos to show in lemmy, we should ask the Lemmy devs to re-enable it?
Comment on Welcome, new users!
flamingos@feddit.uk 1 month agoHad a look at the logs and trying to resolve a video fails with OnlyModsCanPostInCommunity
. This is because PeerTube sets lemmy:postingRestrictedToMods
to be true on the Group
, but doesn’t set an attributeTo
for the Group
object so Lemmy sees the community as having no moderators. It seems that the only reason this used to work was because the posting_restricted_to_mods
setting was ignored when resolving an object from ActivityPub.
cc @s08nlql9@lemm.ee
s08nlql9@lemm.ee 1 month ago
flamingos@feddit.uk 1 month ago
Looks like I was wrong, PeerTube does set an
attributeTo
, it’s just different to how Lemmy does it. Lemmy expects anOrderedCollection
, while PeerTube sends an Array ofIDs
. Don’t know how I missed theattributeTo
in the PeerTube output I was looking at (I was pretty tired when I wrote the tbf). This is probably something to fix in Lemmy.cc @emperor@feddit.uk
Emperor@feddit.uk 1 month ago
Good find. At least you kniw where the issue is.
As Pixelfed is going to fully implement groups, it seems like an interesting time.
flamingos@feddit.uk 1 month ago
Made a fix: github.com/LemmyNet/lemmy/pull/5509
By the looks of it, Dansup is it similar to how PeerTube does it, but doesn’t wrap it in an array which is annoying. Hopefully he changes that.
cc @s08nlql9@lemm.ee
Emperor@feddit.uk 1 month ago
Thanks for checking. Seems like a “them” problem.