Browse Source

Allow subscribing for pleroma:emoji_reaction push notifications

features/emoji_reactions_list
Mark Felder 3 years ago
parent
commit
83ec2f1384
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/pleroma/web/push/subscription.ex

+ 1
- 1
lib/pleroma/web/push/subscription.ex View 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)


Loading…
Cancel
Save