From: squidboi Date: Fri, 8 Jun 2018 05:33:50 +0000 (-0700) Subject: s/get_by_ap_id/get_cached_by_ap_id/ X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e2c4013c88c71c31084abe7567a7f3ba81f16bfa;p=akkoma s/get_by_ap_id/get_cached_by_ap_id/ --- 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