aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-01-08 16:11:03 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-01-08 16:11:03 +0700
commit6428ef77adef6aa3fca1fbcdcfffc5db5fc953d5 (patch)
tree5fd40b485e3fbc0053c8645311be41915ec633de
parent7b6c5f0a9d02785bee3e4c2585fea1f8983e61b0 (diff)
downloadpleroma-6428ef77adef6aa3fca1fbcdcfffc5db5fc953d5.tar.gz
add default configuration for the pinned statuses and some doc
-rw-r--r--docs/config.md1
-rw-r--r--lib/mix/tasks/pleroma/sample_config.eex3
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index 1c3219efe..c903b53bf 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -93,6 +93,7 @@ config :pleroma, Pleroma.Mailer,
* `always_show_subject_input`: When set to false, auto-hide the subject field when it's empty.
* `extended_nickname_format`: Set to `true` to use extended local nicknames format (allows underscores/dashes). This will break federation with
older software for theses nicknames.
+* `max_pinned_statuses`: The maximum number of pinned statuses. `0` will disable the feature.
## :fe
This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:instance`` is set to false.
diff --git a/lib/mix/tasks/pleroma/sample_config.eex b/lib/mix/tasks/pleroma/sample_config.eex
index 740b9f8d1..59c2c4fba 100644
--- a/lib/mix/tasks/pleroma/sample_config.eex
+++ b/lib/mix/tasks/pleroma/sample_config.eex
@@ -14,7 +14,8 @@ config :pleroma, :instance,
email: "<%= email %>",
limit: 5000,
registrations_open: true,
- dedupe_media: false
+ dedupe_media: false,
+ max_pinned_statuses: 1
config :pleroma, :media_proxy,
enabled: false,