Revert "Merge branch 'streamer-refactoring' into 'develop'"
This reverts merge request !1653
This commit is contained in:
parent
4fabf83ad0
commit
c623b4324d
26 changed files with 447 additions and 888 deletions
|
|
@ -210,10 +210,8 @@ defmodule Pleroma.Notification do
|
|||
unless skip?(activity, user) do
|
||||
notification = %Notification{user_id: user.id, activity: activity}
|
||||
{:ok, notification} = Repo.insert(notification)
|
||||
|
||||
["user", "user:notification"]
|
||||
|> Streamer.stream(notification)
|
||||
|
||||
Streamer.stream("user", notification)
|
||||
Streamer.stream("user:notification", notification)
|
||||
Push.send(notification)
|
||||
notification
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue