signature: make key_id_to_actor_id() public
This commit is contained in:
parent
88d064d80e
commit
18d8d12d53
|
@ -9,7 +9,7 @@ defmodule Pleroma.Signature do
|
|||
alias Pleroma.User
|
||||
alias Pleroma.Web.ActivityPub.ActivityPub
|
||||
|
||||
defp key_id_to_actor_id(key_id) do
|
||||
def key_id_to_actor_id(key_id) do
|
||||
URI.parse(key_id)
|
||||
|> Map.put(:fragment, nil)
|
||||
|> URI.to_string()
|
||||
|
|
Loading…
Reference in a new issue