formatting

This commit is contained in:
squidboi 2018-06-07 21:55:58 -07:00
parent f69d38e455
commit 5b9e1f228a
No known key found for this signature in database
GPG key ID: 018925A9B65D2457

View file

@ -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