From c4ecea651f5f9b41f921ae7ea2d7f8d5a98c9fb3 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Fri, 13 Nov 2020 15:51:27 -0600 Subject: Fix ability to save settings correctly in AdminFE - doesn't work with elixir lists yet - AdminFE not showing saved entries for some reason --- lib/pleroma/web/activity_pub/mrf/auto_subject_policy.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def config_description 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". -- cgit v1.2.3