diff options
author | Mark Felder <feld@feld.me> | 2020-10-16 17:32:05 +0000 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2020-10-16 17:36:02 +0000 |
commit | 1b8fd7e65af980c42b72f584c2a957b12ca5c78b (patch) | |
tree | fbf70265a6aefe04e8c7c8fe50c36c22d2b9760b /config | |
parent | 023f726d7f497705d766adee8874b94efb08a0aa (diff) | |
download | pleroma-1b8fd7e65af980c42b72f584c2a957b12ca5c78b.tar.gz pleroma-1b8fd7e65af980c42b72f584c2a957b12ca5c78b.zip |
Adds feature to permit e.g., local admins and community moderators to automatically follow all newly registered accounts
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 1 | ||||
-rw-r--r-- | config/description.exs | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 2c6142360..0f3785d12 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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, diff --git a/config/description.exs b/config/description.exs index 2a1898922..2bbb12540 100644 --- a/config/description.exs +++ b/config/description.exs @@ -838,6 +838,17 @@ config :pleroma, :config_description, [ ] }, %{ + 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, description: "Enable to automatically add attachment link text to statuses" |