Fix error when processing remote actors with null public keys (#40194)

This commit is contained in:
Claire
2026-08-21 14:33:33 +02:00
parent 3ccfbbe195
commit a17c1b4658

View File

@@ -298,6 +298,8 @@ class ActivityPub::ProcessAccountService < BaseService
next unless value['owner'] == @account.uri
key = value['publicKeyPem']
next if key.nil?
{ type: :rsa, public_key: key, uri: key_id }
end
end