aboutsummaryrefslogtreecommitdiffstats
path: root/log-forward
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-03-04 18:47:55 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-03-04 18:47:55 +0100
commitb1647c760c202c79fc0d1f1be38914b6886fb91f (patch)
tree058d10914a89507a37dee86688395b6885fc63eb /log-forward
parentf762d395ebd7ffe914ea3e95571e18cd7e1bcb85 (diff)
log-forward: list messages with 'black circle'
Diffstat (limited to 'log-forward')
-rw-r--r--log-forward5
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;
}