]> cat aescling's git repositories - mastodon.git/commit
minor server-sent events fixes (#12945)
authorBen Lubar <ben.lubar@gmail.com>
Fri, 24 Jan 2020 19:51:33 +0000 (13:51 -0600)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 24 Jan 2020 19:51:33 +0000 (20:51 +0100)
commit0dfba0884e8885cf242010e0d9da6b328b3560a6
tree9712770831d46872bc284171e4b6f8e8bbfa51b6
parent14ca559705285432f06d9343dc2d00c0b009184b
minor server-sent events fixes (#12945)

* Send output on the server-sent events stream immediately so the client sees that it was successfully opened even if it doesn't have any messages.

Fix transparent SSE streaming for the public:local and hashtag:local stream types.

* Tell caches to never store server-sent events.
app/javascript/mastodon/stream.js
streaming/index.js