parent
39d50ca32b
commit
53bb4a398f
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ class ActivityPub::ProcessCollectionService < BaseService
|
||||||
@json.delete('signature') unless safe_for_forwarding?(original_json, @json)
|
@json.delete('signature') unless safe_for_forwarding?(original_json, @json)
|
||||||
end
|
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']
|
case @json['type']
|
||||||
when 'Collection', 'CollectionPage'
|
when 'Collection', 'CollectionPage'
|
||||||
process_items @json['items']
|
process_items @json['items']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue