From 2666e9e2a0e0587d967dde60a45412f571232545 Mon Sep 17 00:00:00 2001 From: Athozus Date: Wed, 29 Mar 2023 15:02:10 +0200 Subject: [PATCH] Show most recent messages at first (outbox) --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 62efc7f..24d1a47 100644 --- a/api.lua +++ b/api.lua @@ -77,7 +77,7 @@ function mail.send(m) -- add in senders outbox local entry = mail.get_storage_entry(m.from) - table.insert(entry.outbox, msg) + table.insert(entry.outbox, 1, msg) mail.set_storage_entry(m.from, entry) -- add in every receivers inbox