1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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
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
def delivery_inboxes