mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-27 21:05:10 +01: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"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user