nodeinfo: add pollLimits to metadata

This commit is contained in:
William Pitcock 2019-06-04 06:19:44 +00:00
parent 9f0d0d0805
commit 1c6cf0a348

View file

@ -97,6 +97,7 @@ def raw_nodeinfo do
"pleroma_api",
"mastodon_api",
"mastodon_api_streaming",
"polls",
if Config.get([:media_proxy, :enabled]) do
"media_proxy"
end,
@ -149,6 +150,7 @@ def raw_nodeinfo do
},
staffAccounts: staff_accounts,
federation: federation_response,
pollLimits: Config.get([:instance, :poll_limits]),
postFormats: Config.get([:instance, :allowed_post_formats]),
uploadLimits: %{
general: Config.get([:instance, :upload_limit]),