about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-21 15:33:21 +0100
committerGitHub <noreply@github.com>2023-01-21 15:33:21 +0100
commit628dcbb73257110979cce77bd3ed722e5f163c9b (patch)
treee0616a320c29a4a88d84ad80419feb4d2471b2ce
parenta1abda39dd96c9415b46b799ce969cf7a5a1492a (diff)
Revert "Remove LDSignature on actor Delete activities (#21466)" (#23185)
This reverts commit f4f2b062ec7827ed7749d85579aca2da2ec40593.
-rw-r--r--app/services/delete_account_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/delete_account_service.rb b/app/services/delete_account_service.rb
index 3a082c7c8..a2d535d26 100644
--- a/app/services/delete_account_service.rb
+++ b/app/services/delete_account_service.rb
@@ -267,7 +267,7 @@ class DeleteAccountService < BaseService
   end
 
   def delete_actor_json
-    @delete_actor_json ||= Oj.dump(serialize_payload(@account, ActivityPub::DeleteActorSerializer))
+    @delete_actor_json ||= Oj.dump(serialize_payload(@account, ActivityPub::DeleteActorSerializer, signer: @account, always_sign: true))
   end
 
   def delivery_inboxes