Verified Commit 8226953f authored by Haelwenn's avatar Haelwenn
Browse files

[Pleroma.Web.Nodeinfo.NodeinfoController]: Transparency on MRF Simple

parent 4f03bb22
...@@ -26,6 +26,7 @@ def nodeinfo(conn, %{"version" => "2.0"}) do ...@@ -26,6 +26,7 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
chat = Application.get_env(:pleroma, :chat) chat = Application.get_env(:pleroma, :chat)
gopher = Application.get_env(:pleroma, :gopher) gopher = Application.get_env(:pleroma, :gopher)
stats = Stats.get_stats() stats = Stats.get_stats()
mrf_simple = Application.get_env(:pleroma, :mrf_simple)
staff_accounts = staff_accounts =
User.moderator_user_query() User.moderator_user_query()
...@@ -64,7 +65,8 @@ def nodeinfo(conn, %{"version" => "2.0"}) do ...@@ -64,7 +65,8 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
}, },
staffAccounts: staff_accounts, staffAccounts: staff_accounts,
chat: Keyword.get(chat, :enabled), chat: Keyword.get(chat, :enabled),
gopher: Keyword.get(gopher, :enabled) gopher: Keyword.get(gopher, :enabled),
mrf_simple: Enum.into(mrf_simple, %{})
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment