From 8de1412d0f02a8f06132f567ea009a276577ff03 Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 21 Jan 2023 15:33:21 +0100 Subject: [PATCH] Revert "Remove LDSignature on actor Delete activities (#21466)" (#23185) This reverts commit 4d9ee0e01dff0490086af418805b996f19d3cb90. --- app/services/delete_account_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/delete_account_service.rb b/app/services/delete_account_service.rb index 3a082c7c84..a2d535d262 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