[#114] Readded invites_enabled config setting, updated readme.

This commit is contained in:
Ivan Tashkinov 2018-12-14 12:37:06 +03:00
commit 9666376f5f
2 changed files with 4 additions and 2 deletions

View file

@ -166,7 +166,8 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
textlimit: to_string(Keyword.get(instance, :limit)),
closed: if(Keyword.get(instance, :registrations_open), do: "0", else: "1"),
private: if(Keyword.get(instance, :public, true), do: "0", else: "1"),
vapidPublicKey: vapid_public_key
vapidPublicKey: vapid_public_key,
invitesEnabled: if(Keyword.get(instance, :invites_enabled, false), do: "1", else: "0")
}
pleroma_fe = %{