mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
We now attach a fetch_status to message lists, so that they can track their fetch status individually. When you go back in a narrow and get all the older messages, we turn off future fetches. The narrow.js code no longer needs to orchestrate anything here. The "home" message list won't have as many redundant fetches after this commit, because we don't need to reset flags every time we do `narrow.deactivate`. And then actual narrows get a new message list every time you narrow, so their fetch status gets reset implicitly as part of constructing the MessageList object.
7.9 KiB
7.9 KiB