Simplify message notifications a bit.
This commit is contained in:
parent
29f14abc54
commit
01e31f4288
@ -218,8 +218,7 @@ function telex.deliver(msgid, msg)
|
||||
local mbox = telex.decode(pmeta:get_string("telex_mbox"))
|
||||
table.insert(mbox, msgid)
|
||||
pmeta:set_string("telex_mbox", telex.encode(mbox))
|
||||
minetest.chat_send_player(msg.to, "You have a new message from <" ..
|
||||
msg.from .. ">, use a terminal to read your messages");
|
||||
minetest.chat_send_player(msg.to, "You have a new message from <" .. msg.from .. ">")
|
||||
minetest.log("action", "telex: delivered " .. msgid .. " from <" .. msg.from .. "> to <" .. msg.to .. ">")
|
||||
else
|
||||
-- append to spool
|
||||
|
Loading…
x
Reference in New Issue
Block a user