diff --git a/app/services/activitypub/process_collection_service.rb b/app/services/activitypub/process_collection_service.rb index 4f049a5ae940b0..6cdca7fc341c93 100644 --- a/app/services/activitypub/process_collection_service.rb +++ b/app/services/activitypub/process_collection_service.rb @@ -29,6 +29,10 @@ def call(body, actor, **options) @json.delete('signature') unless safe_for_forwarding?(original_json, @json) end + # any namespaces for general-original activity type + @json['type'] = 'EmojiReact' if original_json['type'] == 'EmojiReact' + @json['type'] = 'EmojiReaction' if original_json['type'] == 'EmojiReaction' + case @json['type'] when 'Collection', 'CollectionPage' process_items @json['items']