Skip to content
Snippets Groups Projects
Commit aa1b03a5 authored by rswindell's avatar rswindell
Browse files

Add the LM_REVERSE load/read_mail() flag (list newest mail first) for the

'R' and 'K' commands. Maybe this should be a sticky user preference
(e.g. in the user property .ini file)?
parent 5a20df87
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,10 @@ while(bbs.online) {
var cmdkeys = "SARUFNKQ?\r";
switch(console.getkeys(cmdkeys,K_UPPER)) {
case 'R': // Read your mail
bbs.read_mail(MAIL_YOUR, user.number);
bbs.read_mail(MAIL_YOUR, user.number, LM_REVERSE);
break;
case 'U': // Read your un-read mail
bbs.read_mail(MAIL_YOUR, user.number, LM_UNREAD);
bbs.read_mail(MAIL_YOUR, user.number, LM_UNREAD|LM_REVERSE);
break;
case 'K': // Read/Kill sent mail
bbs.read_mail(MAIL_SENT, user.number);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment