diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-02-14 21:51:57 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-02-20 20:30:41 +0100 |
commit | 8d064eb451f13b2cdb444fcdbdff6057a8022ac2 (patch) | |
tree | 9c79cf5049b11a61f56e8998dbd90d275131ddce /config | |
parent | 3eddd9caa61a2ac431eb57cd4c835db608702a7d (diff) | |
download | pleroma-features/link-previews-disable-remote.tar.gz |
rich_media/helpers.ex: Add config to disable fetching from remote activitiesfeatures/link-previews-disable-remote
Diffstat (limited to 'config')
-rw-r--r-- | config/description.exs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/description.exs b/config/description.exs index 53d980c83..b0966b60c 100644 --- a/config/description.exs +++ b/config/description.exs @@ -2105,8 +2105,9 @@ config :pleroma, :config_description, [ children: [ %{ key: :enabled, - type: :boolean, - description: "Enables RichMedia parsing of URLs." + type: [:boolean, :atom], + description: "Enables/disables RichMedia or allows it only on local activities", + suggestions: [true, false, :local_only] }, %{ key: :ignore_hosts, |