diff options
author | William Pitcock <nenolod@dereferenced.org> | 2019-03-14 19:29:33 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2019-03-14 19:29:33 +0000 |
commit | 3b48d5f0c27b42a6ea409fffbdc6b831da2ff4ca (patch) | |
tree | 4db1f13002bae72f5bdfd9ef08f6fc4129a5cb51 | |
parent | 379442ad17cab9c27863be2c885d10f8b6eadeca (diff) | |
download | pleroma-3b48d5f0c27b42a6ea409fffbdc6b831da2ff4ca.tar.gz |
common api: add support for forwarding reports
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 3 |
1 files changed, 2 insertions, 1 deletions
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 |