formatting
This commit is contained in:
parent
f69d38e455
commit
5b9e1f228a
@ -20,14 +20,16 @@ defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do
|
|||||||
true -> "d"
|
true -> "d"
|
||||||
end
|
end
|
||||||
|
|
||||||
case visibility do
|
{flag, object_out} =
|
||||||
"p" -> {:ok, object}
|
case visibility do
|
||||||
"u" -> {:ok, object}
|
"p" -> {:ok, object}
|
||||||
_ -> {:reject, nil}
|
"u" -> {:ok, object}
|
||||||
end
|
_ -> {:reject, nil}
|
||||||
|
end
|
||||||
|
|
||||||
|
{flag, object_out}
|
||||||
else
|
else
|
||||||
{:ok, object}
|
{:ok, object}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user