Fix processing keys from separate documents (#38407)
This commit is contained in:
parent
31abef8917
commit
19806be8ec
@ -289,8 +289,8 @@ class ActivityPub::ProcessAccountService < BaseService
|
|||||||
|
|
||||||
next unless value['owner'] == @account.uri
|
next unless value['owner'] == @account.uri
|
||||||
|
|
||||||
value['publicKeyPem']
|
key = value['publicKeyPem']
|
||||||
{ type: :rsa, public_key: :key, uri: key_id }
|
{ type: :rsa, public_key: key, uri: key_id }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user