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) { ""