summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2022-01-10 21:35:55 +0100
committermarcin mikołajczak <git@mkljczk.pl>2022-01-12 18:15:10 +0100
commit0f90fd58052aa372aaad63d769cd724046c9f61f (patch)
tree9ead892e5f740df707e9f6172845de74e4792c35 /config
parent4f249b23977d7426c6249875b538c7a6c1b239ff (diff)
WIP account endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
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: