get_user_travels: Fix message order

This commit is contained in:
Daniel Friesel 2019-03-17 18:46:23 +01:00
parent b15d3456ac
commit 842fcbcea9

View file

@ -866,7 +866,7 @@ helper 'get_user_travels' => sub {
my ( $ts, $msg ) = split( qr{:}, $message ); my ( $ts, $msg ) = split( qr{:}, $message );
push( @parsed_messages, [ epoch_to_dt($ts), $msg ] ); push( @parsed_messages, [ epoch_to_dt($ts), $msg ] );
} }
$ref->{messages} = [@parsed_messages]; $ref->{messages} = [ reverse @parsed_messages ];
} }
} }
$prev_action = $action; $prev_action = $action;