mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 18:17:55 +00:00
final format
This commit is contained in:
parent
82225dfc8d
commit
6e7f91bf8f
|
@ -17,14 +17,11 @@ defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do
|
||||||
true -> "direct"
|
true -> "direct"
|
||||||
end
|
end
|
||||||
|
|
||||||
{flag, object_out} =
|
case visibility do
|
||||||
case visibility do
|
"public" -> {:ok, object}
|
||||||
"public" -> {:ok, object}
|
"unlisted" -> {:ok, object}
|
||||||
"unlisted" -> {:ok, object}
|
_ -> {:reject, nil}
|
||||||
_ -> {:reject, nil}
|
end
|
||||||
end
|
|
||||||
|
|
||||||
{flag, object_out}
|
|
||||||
else
|
else
|
||||||
{:ok, object}
|
{:ok, object}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue