What idiot did that? (me)
authorrinpatch <rinpatch@sdf.org>
Fri, 8 Feb 2019 10:16:50 +0000 (13:16 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 8 Feb 2019 10:16:50 +0000 (13:16 +0300)
lib/pleroma/web/activity_pub/mrf/keyword_policy.ex

index 073b8637259e56406ddbd195a68a0c6139f25cfe..8f49d8bfba05ee790146bd959c999d9c36aeeb45 100644 (file)
@@ -28,7 +28,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.KeywordPolicy do
            string_matches?(content, pattern)
          end) do
       to = List.delete(to, "https://www.w3.org/ns/activitystreams#Public")
-      cc = ["https://www.w3.org/ns/activitystreams#Public" | [message["cc"] || []]]
+      cc = ["https://www.w3.org/ns/activitystreams#Public" | message["cc"] || []]
 
       message =
         message