mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-12 09:22:20 -04:00
Store message list in context to improve performance
They are deleted after closing formspec, and the json file is called only once
This commit is contained in:
parent
984d8c34d9
commit
fa391b5ee6
7 changed files with 39 additions and 15 deletions
7
init.lua
7
init.lua
|
@ -37,6 +37,13 @@ mail = {
|
|||
trash_move_enable = {}
|
||||
},
|
||||
|
||||
messages_context = {
|
||||
inbox = {},
|
||||
outbox = {},
|
||||
drafts = {},
|
||||
trash = {}
|
||||
},
|
||||
|
||||
message_drafts = {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue