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

Allow ActivityPub Note's tag and attachment to be single objects #5534

merged 1 commit into from Oct 27, 2017


Copy link

puckipedia commented Oct 25, 2017

In JSON-LD, [{"type": "Mention"}] and {"type": "Mention"} are equal. So, allow this when parsing tags and attachments. By default, Kroeg defaults to not using JSON arrays if it isn't needed, thus causing an incompatibility with Mastodon.

ykzts approved these changes Oct 27, 2017
@ykzts ykzts added the activitypub label Oct 27, 2017
@Gargron Gargron merged commit 0cb329f into tootsuite:master Oct 27, 2017
2 checks passed
2 checks passed
codeclimate All good!
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.