From: Ariadne Conill Date: Thu, 18 Jul 2019 15:35:42 +0000 (+0000) Subject: signature: make key_id_to_actor_id() public X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=18d8d12d53567b7c0c246bb793ee724d0d2e4c77;p=akkoma signature: make key_id_to_actor_id() public --- diff --git a/lib/pleroma/signature.ex b/lib/pleroma/signature.ex index a45c70a9d..2a0823ecf 100644 --- a/lib/pleroma/signature.ex +++ b/lib/pleroma/signature.ex @@ -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()