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

Don't allow replying to one's self

When posting a reply-message, if the original "from" field is the
current user's alias, then reply to the original message's "to"
value instead of the "from" value. This is also how sbbs handles
reply 'to' fields.
parent 2e847de9
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -533,7 +533,7 @@ function postReply(sub, body, pid) {
msgBase.close();
if (pHeader === null) return ret;
var header = {
'to' : pHeader.from,
'to' : pHeader.from == user.alias ? pHeader.to : pHeader.from,
'from' : user.alias,
'subject' : pHeader.subject,
'thread_id' : (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment