diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-02-11 15:39:19 -0600 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-02-11 15:39:19 -0600 |
commit | ff9fd4ca895563178e3174fdc86d866508c5a9fa (patch) | |
tree | 455c352b27b87654ba92b7cd6c87a544deeda290 /config | |
parent | d056f7f722b5e734ac53d8b55a0228174d64cc9f (diff) | |
download | pleroma-ff9fd4ca895563178e3174fdc86d866508c5a9fa.tar.gz pleroma-ff9fd4ca895563178e3174fdc86d866508c5a9fa.zip |
Fix the confusingly named and inverted logic of "no_attachment_links"
The setting is now simply "attachment_links" and the boolean value does
what you expect. A double negative is never possible and describing the
functionality is no longer a philospher's worst nightmare.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 2 | ||||
-rw-r--r-- | config/description.exs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/config.exs b/config/config.exs index 41c1ff637..ccc0c4e52 100644 --- a/config/config.exs +++ b/config/config.exs @@ -241,7 +241,7 @@ config :pleroma, :instance, mrf_transparency_exclusions: [], autofollowed_nicknames: [], max_pinned_statuses: 1, - no_attachment_links: true, + attachment_links: false, welcome_user_nickname: nil, welcome_message: nil, max_report_comment_size: 1000, diff --git a/config/description.exs b/config/description.exs index e5bac9b3f..6b9d09de9 100644 --- a/config/description.exs +++ b/config/description.exs @@ -796,10 +796,10 @@ config :pleroma, :config_description, [ ] }, %{ - key: :no_attachment_links, + key: :attachment_links, type: :boolean, description: - "Set to `true` to disable automatically adding attachment link text to statuses" + "Enable to automatically add attachment link text to statuses" }, %{ key: :welcome_message, |