Fix: 名前空間付きのEmojiReact
アクティビティを受信 (#888)
This commit is contained in:
parent
e3863b4230
commit
ed00334439
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)
|
||||
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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue