Browse Source

Revert "Remove LDSignature on actor Delete activities (#21466)" (#23185)

This reverts commit f4f2b062ec7827ed7749d85579aca2da2ec40593.
Claire 1 year ago
parent
commit
628dcbb732
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/services/delete_account_service.rb

+ 1 - 1
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