-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec contradicts itself when describing what the liked
collection should contain
#317
Comments
Note that the implementation report at test.activitypub.rocks says:
which implies that §5.7's Note box is incorrect. |
It does seem like 'liked' would make most sense to be the objects that were liked, not the like activities. aka 5.5 is a better definition, and 5.7 should be changed. 'likes' might also be a thing some servers want to provide, but that's different than addressing this conflict in the spec. |
When I ported the original ActivityPub Test Suite to Python, I saw that the original C2S "like" test was searching for a Note in the "liked" collection, not a Like activity. Given the test suite was written by one of the specification authors, it's a hint about the intended representation. It would be nice to have an official resolution of this ambiguity. |
This issue has been mentioned on SocialHub. There might be relevant details there: |
As per this and #349 , the text of the non-normative note is incorrect. I've created an erratum which says: In section 5.7, in the non-normative note, the description of the "liked" collection should read "liked: Specifically a property of actors. This is a collection of objects liked by the actor, added to the collection as a side effect of delivery to the outbox." I'm going to mark this issue as needs errata, and needs group input. We can discuss at the next CG meeting, and if approved, we'll add it to errata and the editor's draft. |
Approved and closed in August 2024. |
Thanks to @tuxether for being inquisitive which led me to this.
§5.5 Liked states:
§5.7 Likes has a Note box that says:
(Emphasis is not mine)
So is the
liked
collection expected to contain an actor'sLike
activities, or all the actor'sObject
s referred to in theirLike
activities?While being symmetrical (
likes
andliked
being collections ofLike
activities) would be nice, it's only mentioned in the Note box. The definitive section onliked
would make it asymmetrical (Like
activities vsObject
s)The text was updated successfully, but these errors were encountered: