mirror of https://github.com/zulip/zulip.git
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:
parent
4dc8cc80fa
commit
5e9fe4a83c
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue