mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-13 18:01:54 -04:00
Fix mail notification on login
This commit is contained in:
parent
3e3ea414ba
commit
2d7e1993c7
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ minetest.register_on_joinplayer(function(player)
|
|||
local unreadcount = 0
|
||||
|
||||
for _, message in pairs(messages) do
|
||||
if message.unread then
|
||||
if not message.read then
|
||||
unreadcount = unreadcount + 1
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue