Add default config for keyword policy

This commit is contained in:
rinpatch 2019-02-08 12:48:39 +03:00
commit 2174f6eb4f
2 changed files with 6 additions and 1 deletions

View file

@ -46,7 +46,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
# This horror is needed to convert regex sigils to strings
mrf_keyword =
Application.get_env(:pleroma, :mrf_keyword)
Application.get_env(:pleroma, :mrf_keyword, [])
|> Enum.map(fn {key, value} ->
{key,
Enum.map(value, fn