Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_fetch: Check for empty narrow to show empty narrow banner.
Aman Agrawala6aef4f41b53
diff --git a/web/src/message_fetch.ts b/web/src/message_fetch.tsindex 9c45368bf94..819b944979c 100644--- a/web/src/message_fetch.ts+++ b/web/src/message_fetch.ts@@ -121,7 +121,7 @@ export function fetch_more_if_required_for_current_msg_list(looking_for_old_msgs: boolean,): void {assert(message_lists.current !== undefined);- if (has_found_oldest && has_found_newest) {+ if (has_found_oldest && has_found_newest && message_lists.current.visibly_empty()) {// Even after loading more messages, we have// no messages to display in this narrow.narrow_banner.show_empty_narrow_message();