From 842fcbcea9e8642fa4a954c079b3f5d8f073f565 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 17 Mar 2019 18:46:23 +0100 Subject: [PATCH] get_user_travels: Fix message order --- index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.pl b/index.pl index 21fcc07..95f42c8 100755 --- a/index.pl +++ b/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;