migration fixes

This commit is contained in:
Peter Nerlich 2020-08-12 12:23:46 +02:00
parent 106e94eee7
commit 39f47437b6
3 changed files with 3 additions and 3 deletions

View file

@ -322,7 +322,7 @@ function mail.replyall(name, message)
mail.ensure_new_format(message)
local replyfooter = "Type your reply here.\n\n--Original message follows--\n" ..message.body
-- new recipients are the sender plus the original recipients, minus ourselves
local recipients = message.to
local recipients = message.to or ""
if message.sender ~= nil then
recipients = message.sender .. ", " .. recipients
end