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

This commit is contained in:
William Pitcock 2019-03-14 19:52:08 +00:00
parent 5c7b774f09
commit 423fd07928
1 changed files with 1 additions and 1 deletions

View File

@ -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),