message_list_view: Remove unnecessary parameter passed.

Since we are already selecting the previously selected id in
`reselect_selected_id` there is no need to pass the message id here.
This commit is contained in:
Aman Agrawal
2024-04-02 14:36:26 +00:00
committed by Tim Abbott
parent a30029c8ad
commit ca8f04ea35

View File

@@ -1365,7 +1365,7 @@ export class MessageListView {
// If this list not currently displayed, we don't need to select the message.
if (was_selected && this.list === message_lists.current) {
this.list.reselect_selected_id(message_container.msg.id);
this.list.reselect_selected_id();
}
}