diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-04-01 19:49:09 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-04-01 19:49:09 +0300 |
commit | 2f2bd7fe72f474b7177c751a2dc3af716622ba91 (patch) | |
tree | 0f09b03ec1e06b25200571628f8bd0dac17d7e3d /config/description.exs | |
parent | bfec45bf740f9fcfcea92bbded6bd2c146dc64c1 (diff) | |
download | pleroma-2f2bd7fe72f474b7177c751a2dc3af716622ba91.tar.gz pleroma-2f2bd7fe72f474b7177c751a2dc3af716622ba91.zip |
Ability to control the output of account/pleroma/relationship in statuses in order to improve the rendering performance.
See `[:extensions, output_relationships_in_statuses_by_default]` setting and `with_relationships` param.
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 9612adba7..d127f8f20 100644 --- a/config/description.exs +++ b/config/description.exs @@ -123,6 +123,22 @@ config :pleroma, :config_description, [ }, %{ group: :pleroma, + key: :extensions, + type: :group, + description: "Pleroma-specific extensions", + children: [ + %{ + key: :output_relationships_in_statuses_by_default, + type: :beeolean, + description: + "If `true`, outputs account/pleroma/relationship map for each rendered status / notification (for all clients). " <> + "If `false`, outputs the above only if `with_relationships` param is tru-ish " <> + "(that breaks compatibility with older PleromaFE versions which do not send this param but expect the output)." + } + ] + }, + %{ + group: :pleroma, key: Pleroma.Uploaders.Local, type: :group, description: "Local uploader-related settings", |