projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7f91b
)
s/get_by_ap_id/get_cached_by_ap_id/
author
squidboi
<squidboi@waifu.club>
Fri, 8 Jun 2018 05:33:50 +0000
(22:33 -0700)
committer
squidboi
<squidboi@waifu.club>
Fri, 8 Jun 2018 05:33:50 +0000
(22:33 -0700)
lib/pleroma/web/activity_pub/mrf/reject_non_public.ex
patch
|
blob
|
history
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 fe257214ea82d2ba270e1b2cc83c5152a1e2746b..879cbe6deb74ee2608d3e0beedfc7adaa4c034a7 100644
(file)
--- 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