@trwnh I'm not sure how ruby's switch works for this bit of code[1], but I expect it will fail if @json["type"] is an array of values. :(
[1] https://github.com/mastodon/mastodon/blob/12ed2d793b1b4823b0df047a47677bb0667bf43d/app/lib/activitypub/activity.rb#L31
@ta180m @caesar