Revert "Merge branch 'revert-4fabf83a' into 'develop'"
This reverts commitfe7fd33126, reversing changes made to4fabf83ad0.
This commit is contained in:
parent
4397a3fe4a
commit
96816ceaa2
26 changed files with 888 additions and 447 deletions
|
|
@ -210,8 +210,10 @@ defmodule Pleroma.Notification do
|
|||
unless skip?(activity, user) do
|
||||
notification = %Notification{user_id: user.id, activity: activity}
|
||||
{:ok, notification} = Repo.insert(notification)
|
||||
Streamer.stream("user", notification)
|
||||
Streamer.stream("user:notification", notification)
|
||||
|
||||
["user", "user:notification"]
|
||||
|> Streamer.stream(notification)
|
||||
|
||||
Push.send(notification)
|
||||
notification
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue