mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-13 12:31:13 +00:00
ActivityPub.make_user_from_ap_id/1 fetches the whole actor object including updating the public key for us
This commit is contained in:
parent
223c1bac8d
commit
18deea59b4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ defmodule Pleroma.Signature do
|
|||
with %{"keyId" => kid} <- HTTPSignatures.signature_for_conn(conn),
|
||||
{:ok, actor_id} <- key_id_to_actor_id(kid),
|
||||
{:ok, _user} <- ActivityPub.make_user_from_ap_id(actor_id),
|
||||
{:ok, public_key} <- User.get_or_fetch_public_key_for_ap_id(actor_id) do
|
||||
{:ok, public_key} <- User.get_public_key_for_ap_id(actor_id) do
|
||||
{:ok, public_key}
|
||||
else
|
||||
e ->
|
||||
|
|
Loading…
Reference in a new issue