2
0

Fix process of receiving posts with bearcaps is not working (#26527)

This commit is contained in:
KMY(雪あすか)
2024-01-25 19:37:09 +09:00
committed by GitHub
parent 38f7f8b909
commit 9a8293f58d
2 changed files with 9 additions and 8 deletions

View File

@@ -108,7 +108,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
end
def process_status_params
@status_parser = ActivityPub::Parser::StatusParser.new(@json, followers_collection: @account.followers_url)
@status_parser = ActivityPub::Parser::StatusParser.new(@json, followers_collection: @account.followers_url, object: @object)
attachment_ids = process_attachments.take(4).map(&:id)