mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
This replaces one of the our larger remaining blocks of code with explicit logic for message_lists.home with logic that should correct if we support maintaining a different set of rendered message lists. This should have identical behavior to the previous implementation given that all_rendered_message_lists is either just message_lists.home or that plus the current narrowed message list; can_apply_locally() is always true for the home message list, and the list === message_lists.current check is equivalent to the more complex narrow_state.active() check.
4.5 KiB
4.5 KiB