summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-11-13 15:51:27 -0600
committerMark Felder <feld@feld.me>2021-05-11 16:50:11 -0500
commitc4ecea651f5f9b41f921ae7ea2d7f8d5a98c9fb3 (patch)
treedd20cbb806a19380685867286ad655623a9cc193
parentd2f8053552437bae315cc1ed2b55a3d177cfa2be (diff)
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
-rw-r--r--lib/pleroma/web/activity_pub/mrf/auto_subject_policy.ex2
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".