Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
narrow-title: Use filter title for invalid "sender" operand case.
Lauryn Menard52cad38f3efb
diff --git a/web/src/narrow_title.ts b/web/src/narrow_title.tsindex 35d23aff738..74a0e39fcf0 100644--- a/web/src/narrow_title.ts+++ b/web/src/narrow_title.ts@@ -62,14 +62,6 @@ export function compute_narrow_title(filter?: Filter): string {return $t({defaultMessage: "Invalid user"});}- if (filter.has_operator("sender")) {- const user = people.get_by_email(filter.operands("sender")[0]!);- if (user !== undefined) {- return filter_title;- }- return $t({defaultMessage: "Invalid user"});- }-return filter_title;}