forked from YokaiRick/akkoma
signature: make key_id_to_actor_id() public
This commit is contained in:
parent
88d064d80e
commit
18d8d12d53
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ defmodule Pleroma.Signature do
|
||||||
alias Pleroma.User
|
alias Pleroma.User
|
||||||
alias Pleroma.Web.ActivityPub.ActivityPub
|
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)
|
URI.parse(key_id)
|
||||||
|> Map.put(:fragment, nil)
|
|> Map.put(:fragment, nil)
|
||||||
|> URI.to_string()
|
|> URI.to_string()
|
||||||
|
|
Loading…
Reference in a new issue