message_list: Fix incorrect fetch_status check.

Fixes a typo introduced in 2084a91af9.
This commit is contained in:
Tim Abbott 2023-05-08 10:48:40 -07:00
parent 414658fc8e
commit a97c4708e8
1 changed files with 2 additions and 2 deletions

View File

@ -443,8 +443,8 @@ export class MessageList {
if (this.narrowed) {
if (
this.visibly_empty() &&
this.data.has_found_oldest() &&
this.data.has_found_newest()
this.data.fetch_status.has_found_oldest() &&
this.data.fetch_status.has_found_newest()
) {
// Show the empty narrow message only if we're certain
// that the view doesn't have messages that we're