Update types in MRF Keyword group

This commit is contained in:
Angelina Filippova 2020-07-12 01:38:16 +03:00
parent 98c56ff477
commit 0eeeaa37e8
1 changed files with 3 additions and 2 deletions

View File

@ -1069,6 +1069,7 @@
},
%{
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 @@
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]