[#114] Added invitesEnabled to metadata of nodeinfo.

This commit is contained in:
Ivan Tashkinov 2018-12-14 14:13:13 +03:00
parent 66380b0641
commit 69fd63e248

View File

@ -132,6 +132,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
banner: Keyword.get(instance, :banner_upload_limit),
background: Keyword.get(instance, :background_upload_limit)
},
invitesEnabled: Keyword.get(instance, :invites_enabled, false),
features: features
}
}