mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
log-search: Fix copy/paste-o in filtering for presence.
This commit is contained in:
committed by
Tim Abbott
parent
3aa9e4c553
commit
180565d8d6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user