Fix? Maybe.

This commit is contained in:
Andrew Pamment 2017-09-21 16:13:17 +10:00
parent 0e8ec762bf
commit b5bc6d688d

View File

@ -1922,6 +1922,8 @@ void read_mail(struct user_record *user) {
jlr.LastReadMsg = 0; jlr.LastReadMsg = 0;
jlr.HighReadMsg = 0; jlr.HighReadMsg = 0;
all_unread = 1; all_unread = 1;
} else if (jlr.LastReadMsg == 0 && jlr.HighReadMsg == 0) {
all_unread = 1;
} }
JAM_CloseMB(jb); JAM_CloseMB(jb);
s_printf(get_string(120), msghs->msg_count); s_printf(get_string(120), msghs->msg_count);
@ -2237,6 +2239,8 @@ void list_messages(struct user_record *user) {
jlr.LastReadMsg = 0; jlr.LastReadMsg = 0;
jlr.HighReadMsg = 0; jlr.HighReadMsg = 0;
all_unread = 1; all_unread = 1;
} else if (jlr.LastReadMsg == 0 && jlr.HighReadMsg == 0) {
all_unread = 1;
} }
JAM_CloseMB(jb); JAM_CloseMB(jb);
s_printf(get_string(125), msghs->msg_count); s_printf(get_string(125), msghs->msg_count);