Fix deletion of status which has been reblogged (#4728)
This commit is contained in:
parent
ce9a5f358e
commit
7876aed134
2 changed files with 9 additions and 2 deletions
|
@ -55,8 +55,8 @@ class RemoveStatusService < BaseService
|
|||
end
|
||||
|
||||
# ActivityPub
|
||||
ActivityPub::DeliveryWorker.push_bulk(target_accounts.select(&:activitypub?).uniq(&:inbox_url)) do |inbox_url|
|
||||
[signed_activity_json, @account.id, inbox_url]
|
||||
ActivityPub::DeliveryWorker.push_bulk(target_accounts.select(&:activitypub?).uniq(&:inbox_url)) do |target_account|
|
||||
[signed_activity_json, @account.id, target_account.inbox_url]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue