mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
message_list: Downgrade message_list.all to MessageListData.
This data structure has never been one that we actually render into the DOM; instead, its role is to support clicking into view that contain muted streams and topics quickly. This downgrade makes that situation much more explicit, and is also useful refactoring to help simpify the upcoming changes in #16746. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
837736001d
commit
6f764ce4b3
@@ -4,7 +4,7 @@ import * as message_store from "./message_store";
|
||||
import * as people from "./people";
|
||||
|
||||
function rerender_messages_view() {
|
||||
for (const list of [message_lists.home, message_list.narrowed, message_list.all]) {
|
||||
for (const list of [message_lists.home, message_list.narrowed]) {
|
||||
if (list === undefined) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user