Merge branch 'fix/mrf-transparency-disabling-federation-status' into 'develop'

NodeInfo: Fix federating status not being reported when MRF transparency is disabled

Closes #1568

See merge request pleroma/pleroma!2206
This commit is contained in:
rinpatch 2020-02-13 18:08:43 +00:00
commit 9906c6fb6f

View file

@ -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 =
[