Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_lists: Add field `message_containers` to `MessageListView` type.
Varun Singh1ce76e5fbde3
diff --git a/web/src/message_lists.ts b/web/src/message_lists.tsindex 2665860dc65..fcd0d2ec271 100644--- a/web/src/message_lists.ts+++ b/web/src/message_lists.ts@@ -5,6 +5,14 @@ import type {MessageListData} from "./message_list_data";import type {Message} from "./message_store";import * as ui_util from "./ui_util";+// TODO(typescript): Move this to message_list_view when it's+// converted to TypeScript.+export type MessageContainer = {+ msg: Message;+ is_hidden: boolean;+ url: string;+};+// TODO(typescript): Move this to message_list_view when it's// converted to typescript.type MessageListView = {@@ -17,6 +25,7 @@ type MessageListView = {show_message_as_read: (message: Message, options: {from?: "pointer" | "server"}) => void;show_messages_as_unread: (message_ids: number[]) => void;change_message_id: (old_id: number, new_id: number) => void;+ message_containers: Map<number, MessageContainer>;_render_win_start: number;_render_win_end: number;sticky_recipient_message_id: number | undefined;