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.

filter: Add comment to help avoid regressions.

Tim Abbott02fe187acec5
diff --git a/web/src/filter.ts b/web/src/filter.ts
index 39e55435ba5..e27b4367fab 100644
--- a/web/src/filter.ts
+++ b/web/src/filter.ts
@@ -1110,6 +1110,8 @@ export class Filter {
}
single_term_type_returns_all_messages_of_conversation(): boolean {
+ // Important: Because of how this is used in is_common_narrow,
+ // every view here requires a custom title in get_title.
const term_types = this.sorted_term_types();
// "topic" alone cannot guarantee all messages of a conversation because