From cd6764c7b653bb4917dc039f4a9ed9816d66d8e7 Mon Sep 17 00:00:00 2001 From: NonlinearFruit <1123benji5813@gmail.com> Date: Mon, 10 Jun 2024 16:54:43 -0500 Subject: [PATCH] Don't use a null user for filtering --- scripts/chat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/chat b/scripts/chat index 644f8cf..d1ccd2a 100755 --- a/scripts/chat +++ b/scripts/chat @@ -16,7 +16,7 @@ def main [ def read-most-recent-message [user age] { read-file - | where $it.user == $user + | where $user == null or $it.user == $user | where (date now) - $it.time < $age | if ($in | is-empty) { ""