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
Contributor

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 added the activitypub Protocol-related changes, federation label Oct 27, 2017
@Gargron Gargron merged commit 0cb329f into mastodon:master Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
activitypub Protocol-related changes, federation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants