NodeInfo: Fix federating status not being reported when MRF
transparency is disabled Closes #1568
This commit is contained in:
parent
0db88f547b
commit
23049a077e
@ -46,10 +46,10 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
|
|||||||
|
|
||||||
data
|
data
|
||||||
|> Map.merge(%{quarantined_instances: quarantined})
|
|> Map.merge(%{quarantined_instances: quarantined})
|
||||||
|> Map.put(:enabled, Config.get([:instance, :federating]))
|
|
||||||
else
|
else
|
||||||
%{}
|
%{}
|
||||||
end
|
end
|
||||||
|
|> Map.put(:enabled, Config.get([:instance, :federating]))
|
||||||
|
|
||||||
features =
|
features =
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user