From 471412ad34e87106641101c9e9e44fb1df2ca905 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Tue, 4 Jun 2024 14:39:03 -0400 Subject: [PATCH] Stream end of poll notification over websockets and web push --- changelog.d/stream-end-poll.fix | 1 + lib/pleroma/notification.ex | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelog.d/stream-end-poll.fix diff --git a/changelog.d/stream-end-poll.fix b/changelog.d/stream-end-poll.fix new file mode 100644 index 000000000..db513efdc --- /dev/null +++ b/changelog.d/stream-end-poll.fix @@ -0,0 +1 @@ +End of poll notifications were not streamed over websockets or web push diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index de2508b93..b9694a353 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -479,6 +479,8 @@ defmodule Pleroma.Notification do end end) + stream(notifications) + {:ok, notifications} end end