diff options
author | kaniini <ariadne@dereferenced.org> | 2019-09-16 09:09:21 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-09-16 09:09:21 +0000 |
commit | c623b4324deaf236334a0f77a81435b5bffadf3c (patch) | |
tree | 3e4ed9af085e410ebab1adbb6ecc1d9cd84f3e42 /lib/pleroma/notification.ex | |
parent | 4fabf83ad01352442906d79187aeab4c777f4df8 (diff) | |
download | pleroma-c623b4324deaf236334a0f77a81435b5bffadf3c.tar.gz |
Revert "Merge branch 'streamer-refactoring' into 'develop'"
This reverts merge request !1653
Diffstat (limited to 'lib/pleroma/notification.ex')
-rw-r--r-- | lib/pleroma/notification.ex | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 8012389ac..b7c880c51 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -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 |