This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
Add default config for keyword policy
tags/v1.1.4
rinpatch
5 years ago
parent
46aa8c18a2
commit
2174f6eb4f
2 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
config/config.exs
+1
-1
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
+ 5
- 0
config/config.exs
View File
@@ -238,6 +238,11 @@ config :pleroma, :mrf_simple,
reject: [],
accept: []
config :pleroma, :mrf_keyword,
reject: [],
ftl_removal: [],
replace: []
config :pleroma, :rich_media, enabled: true
config :pleroma, :media_proxy,
+ 1
- 1
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
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
Write
Preview
Loading…
Cancel
Save