From e2c4013c88c71c31084abe7567a7f3ba81f16bfa Mon Sep 17 00:00:00 2001 From: squidboi Date: Thu, 7 Jun 2018 22:33:50 -0700 Subject: [PATCH] s/get_by_ap_id/get_cached_by_ap_id/ --- lib/pleroma/web/activity_pub/mrf/reject_non_public.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex b/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex index fe257214e..879cbe6de 100644 --- a/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex +++ b/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex @@ -5,7 +5,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do @impl true def filter(object) do if object["type"] == "Create" do - user = User.get_by_ap_id(object["actor"]) + user = User.get_cached_by_ap_id(object["actor"]) public = "https://www.w3.org/ns/activitystreams#Public" # Determine visibility -- 2.45.2