aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-02-08 12:48:39 +0300
committerrinpatch <rinpatch@sdf.org>2019-02-08 12:48:39 +0300
commit2174f6eb4f2b9b970e9823fe0846643fb274f009 (patch)
tree7d9bbf0783c580a297331ba5d4bb4c63b5cf6d6f /lib
parent46aa8c18a211034bc102cfffec61c9cc8c3cdf02 (diff)
downloadpleroma-2174f6eb4f2b9b970e9823fe0846643fb274f009.tar.gz
Add default config for keyword policy
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/nodeinfo/nodeinfo_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
index 7c24d4761..8c7df5b90 100644
--- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
+++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
@@ -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