Merge branch 'status-push-notification' into 'develop'
Send push notifications for statuses from subscribed accounts See merge request pleroma/pleroma!4396
This commit is contained in:
commit
79e59cb753
2 changed files with 2 additions and 1 deletions
1
changelog.d/status-push-notification.fix
Normal file
1
changelog.d/status-push-notification.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Send push notifications for statuses from subscribed accounts
|
||||
|
|
@ -26,7 +26,7 @@ defmodule Pleroma.Web.Push.Subscription do
|
|||
end
|
||||
|
||||
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
|
||||
@supported_alert_types ~w[follow favourite mention reblog poll pleroma:chat_mention pleroma:emoji_reaction]a
|
||||
@supported_alert_types ~w[follow favourite mention status reblog poll pleroma:chat_mention pleroma:emoji_reaction]a
|
||||
|
||||
defp alerts(%{data: %{alerts: alerts}}) do
|
||||
alerts = Map.take(alerts, @supported_alert_types)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue