mirror of https://github.com/zulip/zulip.git
log-search: Fix copy/paste-o in filtering for presence.
This commit is contained in:
parent
3aa9e4c553
commit
180565d8d6
|
@ -330,7 +330,7 @@ def passes_filters(
|
||||||
return False
|
return False
|
||||||
if re.match(r"/(json|api/v1)/messages($|\?|/)", path) and not args.messages:
|
if re.match(r"/(json|api/v1)/messages($|\?|/)", path) and not args.messages:
|
||||||
return False
|
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
|
return False
|
||||||
if path.startswith(("/api/v1/report/", "/json/report/")) and not args.report:
|
if path.startswith(("/api/v1/report/", "/json/report/")) and not args.report:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue