1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-28 01:25:09 +01:00

Stream out deletes, mistakingly removed when resolving merge conflicts

This commit is contained in:
rinpatch 2019-04-19 00:47:02 +03:00
parent 17d94ae267
commit f9865cf943

View File

@ -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)