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

This reverts commit f4f2b062ec.
main
Claire 2023-01-21 15:33:21 +01:00 committed by GitHub
parent a1abda39dd
commit 628dcbb732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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