What idiot did that? (me)

This commit is contained in:
rinpatch 2019-02-08 13:16:50 +03:00
parent 6c21f5aa16
commit f88dec8b33
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ defp check_ftl_removal(%{"to" => to, "object" => %{"content" => content}} = mess
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