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

This commit is contained in:
Alex Vandiver 2022-06-27 18:04:02 -07:00 committed by Tim Abbott
parent 3aa9e4c553
commit 180565d8d6
1 changed files with 1 additions and 1 deletions

View File

@ -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