projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6b850
)
Fix delete activities not federating
author
rinpatch
<rinpatch@sdf.org>
Thu, 14 Mar 2019 17:43:14 +0000
(20:43 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Thu, 14 Mar 2019 17:43:14 +0000
(20:43 +0300)
lib/pleroma/web/activity_pub/activity_pub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub.ex
b/lib/pleroma/web/activity_pub/activity_pub.ex
index adb42b9abe6c2c2f5b6e2a16627a88fdac570285..96b774c2124bd7476d7f3f1c598484b84bde0163 100644
(file)
--- 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",