common api: add support for forwarding reports
This commit is contained in:
parent
379442ad17
commit
3b48d5f0c2
|
@ -284,7 +284,8 @@ def report(user, data) do
|
||||||
actor: user,
|
actor: user,
|
||||||
account: account,
|
account: account,
|
||||||
statuses: statuses,
|
statuses: statuses,
|
||||||
content: content_html
|
content: content_html,
|
||||||
|
forward: data["forward"] || false
|
||||||
}) do
|
}) do
|
||||||
Enum.each(User.all_superusers(), fn superuser ->
|
Enum.each(User.all_superusers(), fn superuser ->
|
||||||
superuser
|
superuser
|
||||||
|
|
Loading…
Reference in New Issue