mirror of
https://github.com/derf/travelynx
synced 2024-12-12 14:02:33 +00:00
get_user_travels: Fix message order
This commit is contained in:
parent
b15d3456ac
commit
842fcbcea9
1 changed files with 1 additions and 1 deletions
2
index.pl
2
index.pl
|
@ -866,7 +866,7 @@ helper 'get_user_travels' => sub {
|
|||
my ( $ts, $msg ) = split( qr{:}, $message );
|
||||
push( @parsed_messages, [ epoch_to_dt($ts), $msg ] );
|
||||
}
|
||||
$ref->{messages} = [@parsed_messages];
|
||||
$ref->{messages} = [ reverse @parsed_messages ];
|
||||
}
|
||||
}
|
||||
$prev_action = $action;
|
||||
|
|
Loading…
Reference in a new issue