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
merged 1 commit into from Oct 27, 2017

Conversation

@puckipedia
Copy link
Collaborator

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
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!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.