- Why can't you just be normal?
- *screams in single 15 line pipe*
This commit is contained in:
parent
56013408e0
commit
b14446d878
|
@ -101,8 +101,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.KeywordPolicy do
|
|||
end
|
||||
|
||||
def list_keyword_policy do
|
||||
Pleroma.Config.get(:mrf_keyword, [])
|
||||
|> Enum.reduce(%{}, fn {key, value}, acc ->
|
||||
config = Pleroma.Config.get(:mrf_keyword, %{})
|
||||
|
||||
Enum.reduce(config, %{}, fn {key, value}, acc ->
|
||||
base = if is_map(value), do: %{}, else: []
|
||||
|
||||
value =
|
||||
|
|
Loading…
Reference in New Issue