From: rinpatch Date: Thu, 18 Apr 2019 21:47:02 +0000 (+0300) Subject: Stream out deletes, mistakingly removed when resolving merge conflicts X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f9865cf9439e2e9273f55d3b82c1e68166178b07;p=akkoma Stream out deletes, mistakingly removed when resolving merge conflicts --- 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)