aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.exs3
-rw-r--r--config/description.exs10
2 files changed, 12 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index 2bde5b826..1385ce5de 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -258,7 +258,8 @@ config :pleroma, :instance,
show_reactions: true,
password_reset_token_validity: 60 * 60 * 24,
profile_directory: true,
- privileged_staff: false
+ privileged_staff: false,
+ max_endorsed_users: 20
config :pleroma, :welcome,
direct_message: [
diff --git a/config/description.exs b/config/description.exs
index ea3f34abe..644c60a63 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -743,6 +743,16 @@ config :pleroma, :config_description, [
]
},
%{
+ key: :max_endorsed_users,
+ type: :integer,
+ description: "The maximum number of recommended accounts. 0 will disable the feature.",
+ suggestions: [
+ 0,
+ 1,
+ 3
+ ]
+ },
+ %{
key: :autofollowed_nicknames,
type: {:list, :string},
description: