diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-11-13 15:51:27 -0600 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2021-05-11 16:50:11 -0500 |
commit | c4ecea651f5f9b41f921ae7ea2d7f8d5a98c9fb3 (patch) | |
tree | dd20cbb806a19380685867286ad655623a9cc193 /lib | |
parent | d2f8053552437bae315cc1ed2b55a3d177cfa2be (diff) | |
download | pleroma-feature/mrf_auto_subject.tar.gz |
Fix ability to save settings correctly in AdminFEfeature/mrf_auto_subject
- doesn't work with elixir lists yet
- AdminFE not showing saved entries for some reason
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/mrf/auto_subject_policy.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/mrf/auto_subject_policy.ex b/lib/pleroma/web/activity_pub/mrf/auto_subject_policy.ex index 6e74ccc4d..9f4169403 100644 --- a/lib/pleroma/web/activity_pub/mrf/auto_subject_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/auto_subject_policy.ex @@ -109,7 +109,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.AutoSubjectPolicy do children: [ %{ key: :match, - type: {:list, :tuple}, + type: {:keyword, :string}, description: """ **Keyword**: a string or list of keywords. E.g., ["cat", "dog"] to match on both "cat" and "dog". |