From: rinpatch Date: Thu, 13 Feb 2020 16:53:39 +0000 (+0300) Subject: NodeInfo: Fix federating status not being reported when MRF X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=23049a077e8819fcae36cebd336adc5e25eff1e8;p=akkoma NodeInfo: Fix federating status not being reported when MRF transparency is disabled Closes #1568 --- diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 03c35cc2a..333012920 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -46,10 +46,10 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do data |> Map.merge(%{quarantined_instances: quarantined}) - |> Map.put(:enabled, Config.get([:instance, :federating])) else %{} end + |> Map.put(:enabled, Config.get([:instance, :federating])) features = [