mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-15 14:11:26 +00:00
8 lines
149 B
Lua
8 lines
149 B
Lua
function mail.webmail_send_hook(m)
|
|
mail.channel.send({
|
|
type = "new-message",
|
|
data = m
|
|
})
|
|
end
|
|
|
|
mail.register_on_receive(mail.webmail_send_hook)
|