From: William Pitcock Date: Thu, 14 Mar 2019 19:29:33 +0000 (+0000) Subject: common api: add support for forwarding reports X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3b48d5f0c27b42a6ea409fffbdc6b831da2ff4ca;p=akkoma common api: add support for forwarding reports --- diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index de0759fb0..ead4928b5 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -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