Skip to content
Snippets Groups Projects
Verified Commit 6e7f91bf authored by squidboi's avatar squidboi
Browse files

final format

parent 82225dfc
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment