From: Mark Felder Date: Tue, 17 Nov 2020 18:33:40 +0000 (+0000) Subject: Allow subscribing for pleroma:emoji_reaction push notifications X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=83ec2f1384611c385e79ddfd23566ddc173a8a4a;p=akkoma Allow subscribing for pleroma:emoji_reaction push notifications --- diff --git a/lib/pleroma/web/push/subscription.ex b/lib/pleroma/web/push/subscription.ex index 5b5aa0d59..95425b986 100644 --- a/lib/pleroma/web/push/subscription.ex +++ b/lib/pleroma/web/push/subscription.ex @@ -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)