From: Ivan Tashkinov Date: Fri, 14 Dec 2018 11:13:13 +0000 (+0300) Subject: [#114] Added `invitesEnabled` to `metadata` of nodeinfo. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=69fd63e248d39cf2e10657646bc11e9e559e6e45;p=akkoma [#114] Added `invitesEnabled` to `metadata` of nodeinfo. --- diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 277dc6ba1..44c11f40a 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -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 } }