about summary refs log tree commit diff
path: root/app/services/remove_status_service.rb
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-08-29 04:38:59 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-08-28 21:38:59 +0200
commit7876aed134be16d04cf7d177299ae4fda690c219 (patch)
tree487a432c411d71507d5a18b1fa1f62eb55334b46 /app/services/remove_status_service.rb
parentce9a5f358ed1ea5039c1de0bc896dc60622852f7 (diff)
Fix deletion of status which has been reblogged (#4728)
Diffstat (limited to 'app/services/remove_status_service.rb')
-rw-r--r--app/services/remove_status_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 434c9de84..7ddbd8906 100644
--- a/app/services/remove_status_service.rb
+++ b/app/services/remove_status_service.rb
@@ -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