From 8226953f1df81513ff9faa364c2a841c68adff0b Mon Sep 17 00:00:00 2001
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Date: Wed, 5 Sep 2018 23:06:55 +0200
Subject: [PATCH] [Pleroma.Web.Nodeinfo.NodeinfoController]: Transparency on
 MRF Simple

---
 lib/pleroma/web/nodeinfo/nodeinfo_controller.ex | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 @@ def nodeinfo(conn, %{"version" => "2.0"}) 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 @@ def nodeinfo(conn, %{"version" => "2.0"}) 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, %{})
       }
     }