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.

log-search: Fix copy/paste-o in filtering for presence.

Alex Vandiver180565d8d61d
diff --git a/scripts/log-search b/scripts/log-search
index 4fe330da329..7e16827af8f 100755
--- a/scripts/log-search
+++ b/scripts/log-search
@@ -330,7 +330,7 @@ def passes_filters(
return False
if re.match(r"/(json|api/v1)/messages($|\?|/)", path) and not args.messages:
return False
- if path in ("/api/v1/users/me/presence", "/json/users/me/presence") and not args.messages:
+ if path in ("/api/v1/users/me/presence", "/json/users/me/presence") and not args.presence:
return False
if path.startswith(("/api/v1/report/", "/json/report/")) and not args.report:
return False