lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format

Hnng!
This commit is contained in:
Haelwenn (lanodan) Monnier 2018-06-21 19:28:39 +02:00
parent ad28854f47
commit c45133377a
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -6,7 +6,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicy do
@accept Keyword.get(@mrf_policy, :accept)
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}
else
{:ok, object}