forked from YokaiRick/akkoma
activitypub: inject to/cc fields on non-forwarded reports since Flag activities are now Forwardable
This commit is contained in:
parent
5c7b774f09
commit
423fd07928
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ def flag(
|
||||||
if forward do
|
if forward do
|
||||||
Map.merge(additional, %{"to" => [], "cc" => [account.ap_id]})
|
Map.merge(additional, %{"to" => [], "cc" => [account.ap_id]})
|
||||||
else
|
else
|
||||||
additional
|
Map.merge(additional, %{"to" => [], "cc" => []})
|
||||||
end
|
end
|
||||||
|
|
||||||
with flag_data <- make_flag_data(params, additional),
|
with flag_data <- make_flag_data(params, additional),
|
||||||
|
|
Loading…
Reference in a new issue