Commit 423fd079 authored by kaniini's avatar kaniini
Browse files

activitypub: inject to/cc fields on non-forwarded reports since Flag activities are now Forwardable

parent 5c7b774f
Pipeline #8973 passed with stages
in 4 minutes and 24 seconds
......@@ -388,7 +388,7 @@ def flag(
if forward do
Map.merge(additional, %{"to" => [], "cc" => [account.ap_id]})
else
additional
Map.merge(additional, %{"to" => [], "cc" => []})
end
with flag_data <- make_flag_data(params, additional),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment