summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-06-04 14:39:03 -0400
committerMark Felder <feld@feld.me>2024-06-08 13:19:41 -0400
commit471412ad34e87106641101c9e9e44fb1df2ca905 (patch)
tree239c66ad5a60368bdc83727488d7f6081e2654e5
parentb1c52c30628212f881825a702ba75e6170f82407 (diff)
downloadpleroma-471412ad34e87106641101c9e9e44fb1df2ca905.tar.gz
pleroma-471412ad34e87106641101c9e9e44fb1df2ca905.zip
Stream end of poll notification over websockets and web push
-rw-r--r--changelog.d/stream-end-poll.fix1
-rw-r--r--lib/pleroma/notification.ex2
2 files changed, 3 insertions, 0 deletions
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