Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
messages_in_narrow: Add support for empty topic name.
Prakhar Pratyush6cd1c34ae122
diff --git a/zerver/views/message_fetch.py b/zerver/views/message_fetch.pyindex c1654c5c053..c2a7dd4521f 100644--- a/zerver/views/message_fetch.py+++ b/zerver/views/message_fetch.py@@ -367,11 +367,12 @@ def messages_in_narrow_backend()inner_msg_id_col = column("message_id", Integer)+ updated_narrow = update_narrow_terms_containing_empty_topic_fallback_name(narrow)query, is_search = add_narrow_conditions(user_profile=user_profile,inner_msg_id_col=inner_msg_id_col,query=query,- narrow=narrow,+ narrow=updated_narrow,is_web_public_query=False,realm=user_profile.realm,)