commit: 9dfa1c4be0d9c37222a299c212607407f93d6596
parent 8181be89a28ec293cb36fccc2324bc78cc118d3a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 5 May 2023 11:07:18 +0200
ActivityPub: Mark fetch_and_prepare_user_from_ap_id/1 as private
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex
@@ -1668,7 +1668,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
end
end
- def fetch_and_prepare_user_from_ap_id(ap_id, additional \\ []) do
+ defp fetch_and_prepare_user_from_ap_id(ap_id, additional) do
with {:ok, data} <- Fetcher.fetch_and_contain_remote_object_from_id(ap_id),
{:ok, data} <- user_data_from_user_object(data, additional) do
{:ok, maybe_update_follow_information(data)}