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.

search: Fix `with` operator to be a valid search term.

roanster007125ef2a7d481
diff --git a/web/src/filter.ts b/web/src/filter.ts
index 9c13a05bddd..9f3ef505c60 100644
--- a/web/src/filter.ts
+++ b/web/src/filter.ts
@@ -535,6 +535,7 @@ export class Filter {
return ["home", "all"].includes(term.operand);
case "id":
case "near":
+ case "with":
return Number.isInteger(Number(term.operand));
case "channel":
case "stream":