From b1647c760c202c79fc0d1f1be38914b6886fb91f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 4 Mar 2021 18:47:55 +0100 Subject: log-forward: list messages with 'black circle' --- log-forward | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'log-forward') 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; } -- cgit v1.2.3-70-g09d2