Skip to content
Snippets Groups Projects
Commit e630e5e1 authored by rinpatch's avatar rinpatch
Browse files

Fix delete activities not federating

parent 8e6b8506
Branches
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment