signature: make key_id_to_actor_id() public

This commit is contained in:
Ariadne Conill 2019-07-18 15:35:42 +00:00
parent 88d064d80e
commit 18d8d12d53

View file

@ -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()