@trwnh @caesar Yeah, it looks like we'll probably have to submit a PR to Mastodon to fix this. We thought of a few alternate solutions but they aren't very nice or don't work:
- Make the type an array of ["Ticket", "Note"]: this breaks a lot of existing AP software like Mastodon, so we'd be better off sending Mastodon a PR anyways. Also it's not in the AP spec.
- Serve a Note to servers with Mastodon user agents and a Ticket to servers with Gitea user agents. (Crazy idea and I don't like it)
@ta180m @caesar type arrays aren't in the ap spec, they're in the json-ld spec, it should be supported (but isn't)
the file you wanna look at https://github.com/mastodon/mastodon/blob/main/app/lib/activitypub/activity.rb