diff options
author | Mark Felder <feld@feld.me> | 2024-06-04 14:39:03 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-06-08 13:19:41 -0400 |
commit | 471412ad34e87106641101c9e9e44fb1df2ca905 (patch) | |
tree | 239c66ad5a60368bdc83727488d7f6081e2654e5 | |
parent | b1c52c30628212f881825a702ba75e6170f82407 (diff) | |
download | pleroma-471412ad34e87106641101c9e9e44fb1df2ca905.tar.gz pleroma-471412ad34e87106641101c9e9e44fb1df2ca905.zip |
Stream end of poll notification over websockets and web push
-rw-r--r-- | changelog.d/stream-end-poll.fix | 1 | ||||
-rw-r--r-- | lib/pleroma/notification.ex | 2 |
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 |