projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17d94ae
)
Stream out deletes, mistakingly removed when resolving merge conflicts
author
rinpatch
<rinpatch@sdf.org>
Thu, 18 Apr 2019 21:47:02 +0000
(
00:47
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Thu, 18 Apr 2019 21:47:02 +0000
(
00:47
+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 9e25744191973ba7751771c1fbd99abccd3d17cc..0b99a169cd1a793781b3802ef807bc503d17e9cf 100644
(file)
--- a/
lib/pleroma/web/activity_pub/activity_pub.ex
+++ b/
lib/pleroma/web/activity_pub/activity_pub.ex
@@
-167,7
+167,7
@@
defmodule Pleroma.Web.ActivityPub.ActivityPub do
def stream_out(activity) do
public = "https://www.w3.org/ns/activitystreams#Public"
- if activity.data["type"] in ["Create", "Announce"] do
+ if activity.data["type"] in ["Create", "Announce"
, "Delete"
] do
object = Object.normalize(activity.data["object"])
Pleroma.Web.Streamer.stream("user", activity)
Pleroma.Web.Streamer.stream("list", activity)