message_view: Fix load_local_messages called without superset_data.

This was missed in the migration that happend in #31326.

Fixes error when pressing `Home` button in message list.
This commit is contained in:
Aman Agrawal 2024-09-17 12:40:09 +00:00 committed by Tim Abbott
parent ccddbba7a3
commit 5e084a2128
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ function navigate_to_anchor_message({
filter: message_lists.current.data.filter,
excludes_muted_topics: message_lists.current.data.excludes_muted_topics,
});
load_local_messages(msg_list_data);
load_local_messages(msg_list_data, all_messages_data);
select_anchor_using_data(msg_list_data);
} else {
const msg_list_data = new MessageListData({