mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-04 21:50:28 -04:00
revert renaming "sender" to "from" to maintain backwards compatibility
This commit is contained in:
parent
1f5a963d78
commit
8beec340d3
4 changed files with 6 additions and 7 deletions
2
api.lua
2
api.lua
|
@ -67,7 +67,7 @@ function mail.send(src, dst, subject, body)
|
|||
-- form the actual mail
|
||||
local msg = {
|
||||
unread = true,
|
||||
from = m.from,
|
||||
sender = m.from,
|
||||
to = m.to,
|
||||
subject = m.subject,
|
||||
body = m.body,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue