Adds feature to permit e.g., local admins and community moderators to automatically follow all newly registered accounts

This commit is contained in:
Mark Felder 2020-10-16 17:32:05 +00:00
commit 1b8fd7e65a
5 changed files with 42 additions and 0 deletions

View file

@ -235,6 +235,7 @@ config :pleroma, :instance,
"text/bbcode"
],
autofollowed_nicknames: [],
autofollowing_nicknames: [],
max_pinned_statuses: 1,
attachment_links: false,
max_report_comment_size: 1000,

View file

@ -837,6 +837,17 @@ config :pleroma, :config_description, [
"rinpatch"
]
},
%{
key: :autofollowing_nicknames,
type: {:list, :string},
description:
"Set to nicknames of (local) users that automatically follows every newly registered user",
suggestions: [
"admin",
"info",
"moderator",
]
},
%{
key: :attachment_links,
type: :boolean,