[#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
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
banner: Keyword.get(instance, :banner_upload_limit),
background: Keyword.get(instance, :background_upload_limit)
},
invitesEnabled: Keyword.get(instance, :invites_enabled, false),
features: features
}
}