Remove :regex from types
authorAngelina Filippova <linakirsanova@gmail.com>
Sat, 11 Jul 2020 01:32:44 +0000 (04:32 +0300)
committerAngelina Filippova <linakirsanova@gmail.com>
Sat, 11 Jul 2020 01:32:44 +0000 (04:32 +0300)
config/description.exs

index 7f3ef535c8a9b611fcce34997cee2b7d01b7a655..6ef3298077f467f078e77106c06710ef31fbeb7f 100644 (file)
@@ -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]