diff --git a/web/src/message_lists.ts b/web/src/message_lists.ts index 1da61bf42e..f80dbd4ed2 100644 --- a/web/src/message_lists.ts +++ b/web/src/message_lists.ts @@ -21,7 +21,6 @@ export type SelectIdOpts = { export type MessageList = { id: number; - preserve_rendered_state: boolean; view: MessageListView; is_combined_feed_view: boolean; selected_id: () => number; diff --git a/web/src/user_topics_ui.ts b/web/src/user_topics_ui.ts index 61aebe75d2..7b7cf7990e 100644 --- a/web/src/user_topics_ui.ts +++ b/web/src/user_topics_ui.ts @@ -76,7 +76,7 @@ export function handle_topic_updates(user_topic_event: ServerUserTopic): void { setTimeout(() => { // Defer updates for any background-rendered messages lists until the visible one has been updated. for (const list of message_lists.all_rendered_message_lists()) { - if (list.preserve_rendered_state && message_lists.current !== list) { + if (message_lists.current !== list) { list.update_muting_and_rerender(); } }