projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82225df
)
final format
author
squidboi
<squidboi@waifu.club>
Fri, 8 Jun 2018 05:14:39 +0000
(22:14 -0700)
committer
squidboi
<squidboi@waifu.club>
Fri, 8 Jun 2018 05:14:39 +0000
(22:14 -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 e3fcc44472b15f408b8baf6785394feaf3b04477..fe257214ea82d2ba270e1b2cc83c5152a1e2746b 100644
(file)
--- a/
lib/pleroma/web/activity_pub/mrf/reject_non_public.ex
+++ b/
lib/pleroma/web/activity_pub/mrf/reject_non_public.ex
@@
-17,14
+17,11
@@
defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do
true -> "direct"
end
- {flag, object_out} =
- case visibility do
- "public" -> {:ok, object}
- "unlisted" -> {:ok, object}
- _ -> {:reject, nil}
- end
-
- {flag, object_out}
+ case visibility do
+ "public" -> {:ok, object}
+ "unlisted" -> {:ok, object}
+ _ -> {:reject, nil}
+ end
else
{:ok, object}
end