fix unreadcount again
This commit is contained in:
parent
4e195fe0e3
commit
94d6b3396a
@ -3211,25 +3211,27 @@ void do_mail_scan(struct user_record *user, int oldscan, int personal) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
unread_count++;
|
unread_count++;
|
||||||
}
|
}
|
||||||
s_printf("\e[2J\e[1;1H");
|
if (unread_count > 0) {
|
||||||
s_printf(get_string(277), i, conf.mail_conferences[i]->name);
|
s_printf("\e[2J\e[1;1H");
|
||||||
s_printf(get_string(278), j, conf.mail_conferences[i]->mail_areas[j]->name, unread_count);
|
s_printf(get_string(277), i, conf.mail_conferences[i]->name);
|
||||||
s_printf(get_string(279));
|
s_printf(get_string(278), j, conf.mail_conferences[i]->mail_areas[j]->name, unread_count);
|
||||||
|
s_printf(get_string(279));
|
||||||
ch = s_getchar();
|
|
||||||
s_printf("\r\n");
|
ch = s_getchar();
|
||||||
if (tolower(ch) == 'y') {
|
s_printf("\r\n");
|
||||||
orig_conf = user->cur_mail_conf;
|
if (tolower(ch) == 'y') {
|
||||||
orig_area = user->cur_mail_area;
|
orig_conf = user->cur_mail_conf;
|
||||||
|
orig_area = user->cur_mail_area;
|
||||||
user->cur_mail_conf = i;
|
|
||||||
user->cur_mail_area = j;
|
user->cur_mail_conf = i;
|
||||||
|
user->cur_mail_area = j;
|
||||||
res = read_new_msgs(user, msghs);
|
|
||||||
|
res = read_new_msgs(user, msghs);
|
||||||
user->cur_mail_conf = orig_conf;
|
|
||||||
user->cur_mail_area = orig_area;
|
user->cur_mail_conf = orig_conf;
|
||||||
|
user->cur_mail_area = orig_area;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free_message_headers(msghs);
|
free_message_headers(msghs);
|
||||||
|
Reference in New Issue
Block a user