diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-11-10 17:46:43 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-11-10 17:46:43 +0100 |
commit | fa94447f10cd98081c06a9dde5245fe3ece93e21 (patch) | |
tree | 662996ceec860c4537151fb62ac5668bb62ddc91 | |
parent | df74dd5cf97b73cfb6c63fd7399eb273c92f661f (diff) |
only show important HIM messages
-rwxr-xr-x | lib/Travelynx.pm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index f6e47a3..d04171e 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1072,13 +1072,15 @@ sub startup { my @messages; for my $m ( $journey->messages ) { - push( - @messages, - { - header => $m->short, - lead => $m->text, - } - ); + if ( not $m->code ) { + push( + @messages, + { + header => $m->short, + lead => $m->text, + } + ); + } } $self->in_transit->set_route_data( |