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.

narrow: Fix comment.

Aman Agrawal2b12c8b4b90c
diff --git a/zerver/lib/narrow.py b/zerver/lib/narrow.py
index e4c6266d8b3..ad16e5ce08f 100644
--- a/zerver/lib/narrow.py
+++ b/zerver/lib/narrow.py
@@ -105,7 +105,7 @@ def check_narrow_for_events(narrow: Collection[NarrowTerm]) -> None:
def is_spectator_compatible(narrow: Iterable[Dict[str, Any]]) -> bool:
- # This implementation should agree with the similar function in web/src/hash_util.js.
+ # This implementation should agree with is_spectator_compatible in hash_parser.ts.
for element in narrow:
operator = element["operator"]
if "operand" not in element: