about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-01 17:57:19 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:17 -0500
commit8b329d6e13c177336e42ae2377a9484505dd3701 (patch)
tree5acc2f943a70efe0b50035718fdde718cd992d8f
parentb03415596b2649d8c25cc157ad6b6ba952d04fc7 (diff)
[Bug, Privacy, Federation] Remove faulty (and unnecessary!) per-domain payload
-rw-r--r--app/services/remove_status_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 1aca3709a..ec0cb9cf5 100644
--- a/app/services/remove_status_service.rb
+++ b/app/services/remove_status_service.rb
@@ -112,7 +112,7 @@ class RemoveStatusService < BaseService
   end
 
   def signed_activity_json
-    @signed_activity_json[domain] ||= Oj.dump(serialize_payload(@status, @status.reblog? ? ActivityPub::UndoAnnounceSerializer : ActivityPub::DeleteSerializer, signer: @account, target_domain: domain))
+    @signed_activity_json ||= Oj.dump(serialize_payload(@status, @status.reblog? ? ActivityPub::UndoAnnounceSerializer : ActivityPub::DeleteSerializer, signer: @account))
   end
 
   def remove_reblogs