Stream out deletes, mistakingly removed when resolving merge conflicts
This commit is contained in:
parent
17d94ae267
commit
f9865cf943
|
@ -167,7 +167,7 @@ def insert(map, local \\ true, fake \\ false) when is_map(map) 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)
|
||||
|
|
Loading…
Reference in a new issue