mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-19 04:34:56 -04:00
Show most recent messages at first (outbox)
This commit is contained in:
parent
a061b7e847
commit
2666e9e2a0
1 changed files with 1 additions and 1 deletions
2
api.lua
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue