aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2020-07-11 04:32:44 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2020-07-11 04:32:44 +0300
commit98c56ff4771cba8037fd28d412337bee7a60bc95 (patch)
tree33d9cb6a0fc9ca86a7dba1946e8edad5b2701109
parent02b2747d420962445691d4bdbe171d95e7656e89 (diff)
downloadpleroma-98c56ff4771cba8037fd28d412337bee7a60bc95.tar.gz
Remove :regex from types
-rw-r--r--config/description.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/description.exs b/config/description.exs
index 7f3ef535c..6ef329807 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -1587,14 +1587,14 @@ config :pleroma, :config_description, [
children: [
%{
key: :reject,
- type: [:string, :regex],
+ type: [: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, :regex],
+ type: [: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]