mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-15 02:36:39 -04:00
status refactoring
This commit is contained in:
parent
706b870b7d
commit
b414ace620
9 changed files with 91 additions and 176 deletions
|
@ -19,7 +19,8 @@ local sent_formspec = "size[8,10;]" .. mail.theme .. [[
|
|||
|
||||
function mail.show_sent(name)
|
||||
local formspec = { sent_formspec }
|
||||
local messages = mail.getPlayerSentMessages(name)
|
||||
local entry = mail.get_storage_entry(name)
|
||||
local messages = entry.outbox
|
||||
|
||||
mail.message_drafts[name] = nil
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue