revert renaming "sender" to "from" to maintain backwards compatibility

This commit is contained in:
Peter Nerlich 2020-08-12 11:51:01 +02:00
parent 1f5a963d78
commit 8beec340d3
4 changed files with 6 additions and 7 deletions

View file

@ -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,