Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_list: Don't show empty narrow message unless certain.
Tim Abbott2084a91af9ca
diff --git a/web/src/message_list.js b/web/src/message_list.jsindex e58e12aec0a..87be531d259 100644--- a/web/src/message_list.js+++ b/web/src/message_list.js@@ -441,7 +441,14 @@ export class MessageList {this.view.update_render_window(this.selected_idx(), false);if (this.narrowed) {- if (this.visibly_empty()) {+ if (+ this.visibly_empty() &&+ this.data.has_found_oldest() &&+ this.data.has_found_newest()+ ) {+ // Show the empty narrow message only if we're certain+ // that the view doesn't have messages that we're+ // waiting for the server to send us.narrow_banner.show_empty_narrow_message();} else {narrow_banner.hide_empty_narrow_message();