Merge branch 'feature/list-streaming' into 'develop'
MastoAPI: Add streaming for lists. See merge request pleroma/pleroma!183
This commit is contained in:
commit
564c73ab24
6 changed files with 56 additions and 3 deletions
|
|
@ -57,6 +57,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
|
||||
if activity.data["type"] in ["Create", "Announce"] do
|
||||
Pleroma.Web.Streamer.stream("user", activity)
|
||||
Pleroma.Web.Streamer.stream("list", activity)
|
||||
|
||||
if Enum.member?(activity.data["to"], public) do
|
||||
Pleroma.Web.Streamer.stream("public", activity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue