config: make instance description configurable

This commit is contained in:
William Pitcock 2018-07-17 15:10:14 +00:00
commit cf219b6add
3 changed files with 5 additions and 2 deletions

View file

@ -43,7 +43,9 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
},
metadata: %{
nodeName: Keyword.get(instance, :name),
mediaProxy: Keyword.get(media_proxy, :enabled)
nodeDescription: Keyword.get(instance, :description),
mediaProxy: Keyword.get(media_proxy, :enabled),
private: !Keyword.get(instance, :public, true)
}
}