Skip to content
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

Accept all three representations of the Public collection #4951

Closed
acid-chicken opened this issue May 20, 2019 · 0 comments · Fixed by #5783
Closed

Accept all three representations of the Public collection #4951

acid-chicken opened this issue May 20, 2019 · 0 comments · Fixed by #5783
Labels
🐛Bug Unexpected behavior 🌌Federation The Federation/ActivityPub feature

Comments

@acid-chicken
Copy link
Member

acid-chicken commented May 20, 2019

Summary

https://github.com/syuilo/misskey/blob/9e20fc5c88683d92a0bd9aade4ef6085bfb27e8c/src/remote/activitypub/models/note.ts#L117-L118

NOTE

Compacting an ActivityStreams object using the ActivityStreams JSON-LD context might result in https://www.w3.org/ns/activitystreams#Public being represented as simply Public or as:Public which are valid representations of the Public collection. Implementations which treat ActivityStreams objects as simply JSON rather than converting an incoming activity over to a local context using JSON-LD tooling should be aware of this and should be prepared to accept all three representations.
5.6 Public Addressing - ActivityPub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior 🌌Federation The Federation/ActivityPub feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants