From 5e9fe4a83c7f7a81e6cba062a5cb6f5a8ae17c7b Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Sat, 2 Nov 2024 12:22:02 +0530 Subject: [PATCH] message_view: Copy fetch status of superset data to msg data. We can rely on the fetch status of the superset data since it is now live update for message events. --- web/src/message_view.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/message_view.ts b/web/src/message_view.ts index 372bfccece..345f9bf648 100644 --- a/web/src/message_view.ts +++ b/web/src/message_view.ts @@ -913,6 +913,7 @@ function load_local_messages(msg_data: MessageListData, superset_data: MessageLi const in_msgs = superset_data.all_messages(); msg_data.add_messages(in_msgs); + msg_data.fetch_status.copy_status(superset_data.fetch_status); return !msg_data.visibly_empty(); }