What idiot did that? (me)

This commit is contained in:
rinpatch 2019-02-08 13:16:50 +03:00
parent 6c21f5aa16
commit f88dec8b33

View 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