this post was submitted on 18 Aug 2024
814 points (97.9% liked)

Fediverse

28480 readers
768 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

Probably better to post in the github issue rather than replying here.

https://github.com/LemmyNet/lemmy/issues/4967

you are viewing a single comment's thread
view the rest of the comments
[–] hendrik@palaver.p3x.de -1 points 3 months ago (1 children)

Yeah, I think the ActivityPub standard doesn't have a concept of votes at all. They're not defined in the first place.

[–] SorteKanin@feddit.dk 4 points 3 months ago (1 children)

No it definitely does, it has Likes and Dislikes. Lemmy uses those for votes.

[–] hendrik@palaver.p3x.de 0 points 3 months ago* (last edited 3 months ago) (1 children)

Well, there definitely aren't any dislikes. But you're right with the "Like Activity". I missed that, but it's in the standard. It doesn't really define what to do with it, though. The standard has a "likes" and a "shares" collection. It stops there. The rest of our voting system isn't part of the ActivityPub standard. (And that's also why i missed the likes, because I searched for the word "vote".)

[–] SorteKanin@feddit.dk 8 points 3 months ago (1 children)

No, as I said, there are Likes and Dislikes. You can see the Dislike object in the standard here. ActivityPub is composed of various different standards that all come together to form a federation system.

Likes are defined as being added to the Liked collection, which is essentially votes. It's all just what you call a vote or a like, it's just semantics. It is definitely part of the standard.

[–] hendrik@palaver.p3x.de 3 points 3 months ago

Ah, thank you very much. Now I get it. It's part of the ActivityStreams.