diff options
author | squidboi <squidboi@waifu.club> | 2018-06-07 22:33:50 -0700 |
---|---|---|
committer | squidboi <squidboi@waifu.club> | 2018-06-07 22:33:50 -0700 |
commit | e2c4013c88c71c31084abe7567a7f3ba81f16bfa (patch) | |
tree | e6903c08723cab8525fc32b0abad7afb27e7d607 | |
parent | 6e7f91bf8fdc355afe48bccd1ccde3340c514eae (diff) | |
download | pleroma-e2c4013c88c71c31084abe7567a7f3ba81f16bfa.tar.gz |
s/get_by_ap_id/get_cached_by_ap_id/
-rw-r--r-- | lib/pleroma/web/activity_pub/mrf/reject_non_public.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |