|
|
@@ -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) |
|
|
|