Remove LDSignature on actor Delete activities (#21466)

They are currently not used for anything and represent more than half of the
payload size.
This commit is contained in:
Claire 2022-11-27 20:43:24 +01:00 committed by GitHub
parent fe421257e5
commit f4f2b062ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,7 +267,7 @@ class DeleteAccountService < BaseService
end end
def delete_actor_json def delete_actor_json
@delete_actor_json ||= Oj.dump(serialize_payload(@account, ActivityPub::DeleteActorSerializer, signer: @account, always_sign: true)) @delete_actor_json ||= Oj.dump(serialize_payload(@account, ActivityPub::DeleteActorSerializer))
end end
def delivery_inboxes def delivery_inboxes