diff options
author | rinpatch <rinpatch@sdf.org> | 2019-04-19 00:47:02 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-04-19 00:47:02 +0300 |
commit | f9865cf9439e2e9273f55d3b82c1e68166178b07 (patch) | |
tree | da8bbca9d86c1db81b92d67e0c89360ecff88e6c | |
parent | 17d94ae2676efad3a78ddfcd9dbb86d52e26b929 (diff) | |
download | pleroma-f9865cf9439e2e9273f55d3b82c1e68166178b07.tar.gz |
Stream out deletes, mistakingly removed when resolving merge conflicts
-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 9e2574419..0b99a169c 100644 --- 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) |