commit: 9da1875c36caa5872e2e241a5f322f5747d4d5de
parent a893c69d203498b43b4eaeb101447e08901c32c4
Author: nicole mikołajczyk <git@mkljczk.pl>
Date: Sat, 22 Nov 2025 16:51:21 +0100
Send push notifications for statuses from subscribed accounts
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/changelog.d/status-push-notification.fix b/changelog.d/status-push-notification.fix
@@ -0,0 +1 @@
+Send push notifications for statuses from subscribed accounts
diff --git a/lib/pleroma/web/push/subscription.ex b/lib/pleroma/web/push/subscription.ex
@@ -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)