From 9da1875c36caa5872e2e241a5f322f5747d4d5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sat, 22 Nov 2025 16:51:21 +0100 Subject: [PATCH] Send push notifications for statuses from subscribed accounts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- changelog.d/status-push-notification.fix | 1 + lib/pleroma/web/push/subscription.ex | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/status-push-notification.fix diff --git a/changelog.d/status-push-notification.fix b/changelog.d/status-push-notification.fix new file mode 100644 index 000000000..ed0bbff33 --- /dev/null +++ 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 index 6fc45bd61..c6fe69e84 100644 --- 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)