common api: add support for forwarding reports

This commit is contained in:
William Pitcock 2019-03-14 19:29:33 +00:00
parent 379442ad17
commit 3b48d5f0c2
1 changed files with 2 additions and 1 deletions

View File

@ -284,7 +284,8 @@ defmodule Pleroma.Web.CommonAPI do
actor: user,
account: account,
statuses: statuses,
content: content_html
content: content_html,
forward: data["forward"] || false
}) do
Enum.each(User.all_superusers(), fn superuser ->
superuser