forked from mirrors/akkoma
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 @@ def raw_nodeinfo do
|
|||
|
||||
data
|
||||
|> Map.merge(%{quarantined_instances: quarantined})
|
||||
|> Map.put(:enabled, Config.get([:instance, :federating]))
|
||||
else
|
||||
%{}
|
||||
end
|
||||
|> Map.put(:enabled, Config.get([:instance, :federating]))
|
||||
|
||||
features =
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue