summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-25 10:20:34 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-25 10:20:34 +0100
commita02541db327220d5e1a2ee5e24b6c2ae755ae3ea (patch)
treebe78a77237288e81a973d0e2dfadc6f82dcdd107 /lib
parent0de111abb9502231cb21dda26f5d17ac66914627 (diff)
HAFAS: Pass is_him to Message constructor
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index fa81af8..395d987 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -671,6 +671,7 @@ sub add_message {
my $message = Travel::Status::DE::HAFAS::Message->new(
json => $json,
+ is_him => $is_him,
ref_count => 1,
);
push( @{ $self->{messages} }, $message );