mirror of https://github.com/zulip/zulip.git
0ced7cfc55
When you subscribe to a stream, we now set a newly_subscribed flag on the object, and we return true during the is_active() call. This solves the problem that immediately after you subscribe, you don't have any messages in the stream, so it would appear active by our old criteria. This is still something of a workaround, as once you reload, the stream will become inactive again, unless other messages come in. A more permanent solution here would be to have the backend indicate newly subscribed streams to us (apart from the initial event), but we may not really need that in practice. |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |