aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2020-07-12 01:38:16 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2020-07-12 01:38:16 +0300
commit0eeeaa37e80f82025658b30455bde45ece0f9c0b (patch)
tree1d8537bcb46397b92f651406563579d59de29ee0
parent98c56ff4771cba8037fd28d412337bee7a60bc95 (diff)
downloadpleroma-0eeeaa37e80f82025658b30455bde45ece0f9c0b.tar.gz
Update types in MRF Keyword group
-rw-r--r--config/description.exs5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/description.exs b/config/description.exs
index 6ef329807..90fa9e8e4 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -1069,6 +1069,7 @@ config :pleroma, :config_description, [
},
%{
key: :webhook_url,
+ label: "Webhook URL",
type: :string,
description: "Configure the Slack incoming webhook",
suggestions: ["https://hooks.slack.com/services/YOUR-KEY-HERE"]
@@ -1587,14 +1588,14 @@ config :pleroma, :config_description, [
children: [
%{
key: :reject,
- type: [:string],
+ type: {:list, :string},
description:
"A list of patterns which result in message being rejected. Each pattern can be a string or a regular expression.",
suggestions: ["foo", ~r/foo/iu]
},
%{
key: :federated_timeline_removal,
- type: [:string],
+ type: {:list, :string},
description:
"A list of patterns which result in message being removed from federated timelines (a.k.a unlisted). Each pattern can be a string or a regular expression.",
suggestions: ["foo", ~r/foo/iu]