Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_list: Fix incorrect fetch_status check.

Tim Abbotta97c4708e804
diff --git a/web/src/message_list.js b/web/src/message_list.js
index 87be531d259..0617da31291 100644
--- a/web/src/message_list.js
+++ b/web/src/message_list.js
@@ -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