Remove :regex from types

This commit is contained in:
Angelina Filippova 2020-07-11 04:32:44 +03:00
parent 02b2747d42
commit 98c56ff477
1 changed files with 2 additions and 2 deletions

View File

@ -1587,14 +1587,14 @@
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]