X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpleroma%2Fnotification.ex;h=6163413c81be56977457dcf0e7d003bd4e320fdb;hb=04a48286e69704bf83429b85dbcdb70863bdcff1;hp=e0dcd98236eb8984a4b2b36ae13b15b65d4d97b4;hpb=d94ee5cd50005a947c3c3a734b086fd5cd266c8d;p=akkoma diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index e0dcd9823..6163413c8 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -96,6 +96,7 @@ defmodule Pleroma.Notification do notification = %Notification{user_id: user.id, activity: activity} {:ok, notification} = Repo.insert(notification) Pleroma.Web.Streamer.stream("user", notification) + Pleroma.Web.Push.send(notification) notification end end