signature: make key_id_to_actor_id() public
authorAriadne Conill <ariadne@dereferenced.org>
Thu, 18 Jul 2019 15:35:42 +0000 (15:35 +0000)
committerAriadne Conill <ariadne@dereferenced.org>
Thu, 18 Jul 2019 15:35:42 +0000 (15:35 +0000)
lib/pleroma/signature.ex

index a45c70a9dcfdb8a7443bff9912fe5083c1da06c3..2a0823ecf73f4580f9f559ba580da5c639a5880a 100644 (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()