diff options
author | rinpatch <rinpatch@sdf.org> | 2019-03-14 20:43:14 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-03-14 20:43:14 +0300 |
commit | e630e5e13543ae9bdf1867495ebbe6b3a2582b38 (patch) | |
tree | 99797bf24e1c616689cd77acdf54bcf60b78f1cb /lib | |
parent | 8e6b8506105a304bca9159bfcd5cc7cb9516e387 (diff) | |
download | pleroma-e630e5e13543ae9bdf1867495ebbe6b3a2582b38.tar.gz |
Fix delete activities not federating
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index adb42b9ab..96b774c21 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -309,7 +309,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do def delete(%Object{data: %{"id" => id, "actor" => actor}} = object, local \\ true) do user = User.get_cached_by_ap_id(actor) - to = object.data["to"] || [] ++ object.data["cc"] || [] + to = (object.data["to"] || []) ++ (object.data["cc"] || []) data = %{ "type" => "Delete", |