diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pleroma/web/activity_pub/mrf.ex | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/pleroma/web/activity_pub/mrf.ex b/lib/pleroma/web/activity_pub/mrf.ex index f54647945..a0b3af432 100644 --- a/lib/pleroma/web/activity_pub/mrf.ex +++ b/lib/pleroma/web/activity_pub/mrf.ex @@ -33,7 +33,7 @@ defmodule Pleroma.Web.ActivityPub.MRF do    @spec subdomain_match?([Regex.t()], String.t()) :: boolean()    def subdomain_match?(domains, host) do -    !!Enum.find(domains, fn domain -> Regex.match?(domain, host) end) +    Enum.any?(domains, fn domain -> Regex.match?(domain, host) end)    end    @callback describe() :: {:ok | :error, Map.t()} | 
