diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-09-05 23:06:55 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-10-05 20:02:13 +0200 |
commit | 8226953f1df81513ff9faa364c2a841c68adff0b (patch) | |
tree | c8c89302e2c3f94904d526c6e42bdb158fd6e1af | |
parent | 4f03bb22998b9713d84dc8e81a3d63bb60c5b648 (diff) | |
download | pleroma-8226953f1df81513ff9faa364c2a841c68adff0b.tar.gz |
[Pleroma.Web.Nodeinfo.NodeinfoController]: Transparency on MRF Simple
-rw-r--r-- | lib/pleroma/web/nodeinfo/nodeinfo_controller.ex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 9c4827426..184b81c25 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -26,6 +26,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do chat = Application.get_env(:pleroma, :chat) gopher = Application.get_env(:pleroma, :gopher) stats = Stats.get_stats() + mrf_simple = Application.get_env(:pleroma, :mrf_simple) staff_accounts = User.moderator_user_query() @@ -64,7 +65,8 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do }, staffAccounts: staff_accounts, chat: Keyword.get(chat, :enabled), - gopher: Keyword.get(gopher, :enabled) + gopher: Keyword.get(gopher, :enabled), + mrf_simple: Enum.into(mrf_simple, %{}) } } |