From: William Pitcock Date: Thu, 14 Mar 2019 19:52:08 +0000 (+0000) Subject: activitypub: inject to/cc fields on non-forwarded reports since Flag activities are... X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=423fd07928d64dd7810ac408265a37ae1274956f;p=akkoma activitypub: inject to/cc fields on non-forwarded reports since Flag activities are now Forwardable --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 32f69e0fa..45a030ca3 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -388,7 +388,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do if forward do Map.merge(additional, %{"to" => [], "cc" => [account.ap_id]}) else - additional + Map.merge(additional, %{"to" => [], "cc" => []}) end with flag_data <- make_flag_data(params, additional),