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

formatting

parent f69d38e4
Branches
No related tags found
No related merge requests found
......@@ -20,14 +20,16 @@ defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do
true -> "d"
end
case visibility do
"p" -> {:ok, object}
"u" -> {:ok, object}
_ -> {:reject, nil}
end
{flag, object_out} =
case visibility do
"p" -> {:ok, object}
"u" -> {:ok, object}
_ -> {:reject, nil}
end
{flag, object_out}
else
{:ok, object}
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment