mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-05 14:10:31 -04:00
fix mail.ensure_new_format() (had lead to wrong TO field when using Reply All), remove player from CC when using Reply All
This commit is contained in:
parent
93d1af947c
commit
0d937711aa
2 changed files with 16 additions and 4 deletions
|
@ -49,8 +49,8 @@ function mail.player_in_list(name, list)
|
|||
end
|
||||
|
||||
|
||||
function mail.ensure_new_format(message)
|
||||
if message.sender then
|
||||
function mail.ensure_new_format(message, name)
|
||||
if message.to == nil then
|
||||
message.to = name
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue