Allow subscribing for pleroma:emoji_reaction push notifications
authorMark Felder <feld@FreeBSD.org>
Tue, 17 Nov 2020 18:33:40 +0000 (18:33 +0000)
committerMark Felder <feld@FreeBSD.org>
Tue, 17 Nov 2020 20:20:00 +0000 (20:20 +0000)
lib/pleroma/web/push/subscription.ex

index 5b5aa0d597567fb80cf5521f66628d4e09d86fae..95425b986c2ed1cef4c5bf74b4586d1d1dcc86f6 100644 (file)
@@ -25,7 +25,7 @@ defmodule Pleroma.Web.Push.Subscription do
     timestamps()
   end
 
-  @supported_alert_types ~w[follow favourite mention reblog pleroma:chat_mention]a
+  @supported_alert_types ~w[follow favourite mention reblog pleroma:chat_mention pleroma:emoji_reaction]a
 
   defp alerts(%{data: %{alerts: alerts}}) do
     alerts = Map.take(alerts, @supported_alert_types)