Fix delete activities not federating
This commit is contained in:
parent
8e6b850610
commit
e630e5e135
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user