diff options
| author | rinpatch <rinpatch@sdf.org> | 2020-04-19 21:45:20 +0000 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2020-04-19 21:45:20 +0000 |
| commit | 918a8094fc175ed71ccb7305d606fb0b221163f6 (patch) | |
| tree | c837c9799d67e6332697334e919ca8fab5827d3a /config | |
| parent | 389fb36fb5f21fc508810d27ab158955f11edda4 (diff) | |
| parent | 6e6f95c6aed77cbde1a58edcdbb5cc4f68416bca (diff) | |
| download | pleroma-918a8094fc175ed71ccb7305d606fb0b221163f6.tar.gz pleroma-918a8094fc175ed71ccb7305d606fb0b221163f6.zip | |
Merge branch '1559-follow-request-notifications' into 'develop'
[#1559] Support for "follow_request" notifications
Closes #1559
See merge request pleroma/pleroma!2354
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 2 | ||||
| -rw-r--r-- | config/description.exs | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 7f013aaad..f44837e24 100644 --- a/config/config.exs +++ b/config/config.exs @@ -561,6 +561,8 @@ config :pleroma, :email_notifications, inactivity_threshold: 7 } +config :pleroma, :notifications, enable_follow_request_notifications: false + config :pleroma, :oauth2, token_expires_in: 600, issue_new_refresh_token: true, diff --git a/config/description.exs b/config/description.exs index 642f1a3ce..b1938912c 100644 --- a/config/description.exs +++ b/config/description.exs @@ -2269,6 +2269,20 @@ config :pleroma, :config_description, [ }, %{ group: :pleroma, + key: :notifications, + type: :group, + description: "Notification settings", + children: [ + %{ + key: :enable_follow_request_notifications, + type: :boolean, + description: + "Enables notifications on new follow requests (causes issues with older PleromaFE versions)." + } + ] + }, + %{ + group: :pleroma, key: Pleroma.Emails.UserEmail, type: :group, description: "Email template settings", |
