diff options
author | Christian Hesse <mail@eworm.de> | 2021-03-04 18:47:55 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-03-04 18:47:55 +0100 |
commit | b1647c760c202c79fc0d1f1be38914b6886fb91f (patch) | |
tree | 058d10914a89507a37dee86688395b6885fc63eb | |
parent | f762d395ebd7ffe914ea3e95571e18cd7e1bcb85 (diff) |
log-forward: list messages with 'black circle'
-rw-r--r-- | log-forward | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/log-forward b/log-forward index ecb55cc..4332c2a 100644 --- a/log-forward +++ b/log-forward @@ -15,6 +15,7 @@ :global LogForwardFilterMessage; :global LogForwardLast; :global LogForwardRateLimit; +:global NotificationsWithSymbols; :global IfThenElse; :global LogPrintExit2; @@ -53,8 +54,8 @@ $WaitFullyConnected; } else={ :local DupCount ($MessageDups->($MessageVal->"message")); :if ($DupCount < 3) do={ - :set Messages ($Messages . "\n" . $MessageVal->"time" . " " . \ - [ :tostr ($MessageVal->"topics") ] . " " . $MessageVal->"message"); + :set Messages ($Messages . "\n" . [ $IfThenElse ($NotificationsWithSymbols = true) (" \E2\97\8F ") ] . \ + $MessageVal->"time" . " " . [ :tostr ($MessageVal->"topics") ] . " " . $MessageVal->"message"); } else={ :set Duplicates true; } |