NodeInfo: Fix federating status not being reported when MRF

transparency is disabled

Closes #1568
This commit is contained in:
rinpatch 2020-02-13 19:53:39 +03:00
parent 0db88f547b
commit 23049a077e

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