Skip to content
Snippets Groups Projects
Commit 0889aff5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add the [E]dit and [F]orward commands to the message view mode.

parent 5e46cb0f
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1042,6 +1042,21 @@ function list_msgs(msgbase, list, current, preview, grp_name, sub_name)
return true;
}
break;
case 'E':
if((msgbase.cfg && msg_area.sub[msgbase.cfg.code].is_operator)
|| list[current].from_ext == user.number)
bbs.edit_msg(list[current]);
break;
case 'F':
if(mail) {
console.clearline();
var dest = prompt("To", "", K_NOCRLF);
if(dest) {
if(!bbs.forward_msg(list[current], dest))
alert("failed");
}
}
break;
case 'M':
mail_reply(list[current]);
break;
......
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