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.
This commit is contained in:
Aman Agrawal 2024-11-02 12:22:02 +05:30 committed by Tim Abbott
parent 4dc8cc80fa
commit 5e9fe4a83c
1 changed files with 1 additions and 0 deletions

View File

@ -913,6 +913,7 @@ function load_local_messages(msg_data: MessageListData, superset_data: MessageLi
const in_msgs = superset_data.all_messages(); const in_msgs = superset_data.all_messages();
msg_data.add_messages(in_msgs); msg_data.add_messages(in_msgs);
msg_data.fetch_status.copy_status(superset_data.fetch_status);
return !msg_data.visibly_empty(); return !msg_data.visibly_empty();
} }