Bläddra i källkod

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

This reverts commit f4f2b062ec7827ed7749d85579aca2da2ec40593.
Claire 1 år sedan
förälder
incheckning
628dcbb732
1 ändrade filer med 1 tillägg och 1 borttagningar
  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