lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format
Hnng!
This commit is contained in:
parent
ad28854f47
commit
c45133377a
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicy do
|
||||||
|
|
||||||
@accept Keyword.get(@mrf_policy, :accept)
|
@accept Keyword.get(@mrf_policy, :accept)
|
||||||
defp check_accept(actor_info, object) do
|
defp check_accept(actor_info, object) do
|
||||||
if length(@accept) > 0 and not actor_info.host in @accept do
|
if length(@accept) > 0 and not (actor_info.host in @accept) do
|
||||||
{:reject, nil}
|
{:reject, nil}
|
||||||
else
|
else
|
||||||
{:ok, object}
|
{:ok, object}
|
||||||
|
|
Loading…
Reference in a new issue