activitypub: inject to/cc fields on non-forwarded reports since Flag activities are now Forwardable
This commit is contained in:
parent
5c7b774f09
commit
423fd07928
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue