ReplyLink config keyword can be 'none' now - do not link
This commit is contained in:
parent
4f8ed32c91
commit
5e7ba98146
@ -685,6 +685,7 @@ QUOTESTRING " FL> "
|
||||
-- REPLYLINKING
|
||||
|
||||
// How to do replylinking when replying.
|
||||
;REPLYLINK None ; Don't link.
|
||||
;REPLYLINK Chain ; Link to last msg in a subject-based reply chain.
|
||||
REPLYLINK Direct ; Link directly to the original message.
|
||||
|
||||
|
@ -786,6 +786,7 @@ QuoteBufMode Ask ;
|
||||
|
||||
// Š ª áâநâì 楯®çªã ¯à¨ ®â¢¥â å.
|
||||
// <20>® 㬮«ç ¨î Direct.
|
||||
;ReplyLink None ; <20>¥ «¨ª®¢ âì.
|
||||
;ReplyLink Chain ; ‹¨ª®¢ âì ª ¯®á«¥¤¥¬ã á®®¡é¥¨î, ¤«ï «¨ª®¢ª¨ ¯® "Subj:".
|
||||
ReplyLink Direct ; ‹¨ª®¢ âì ¯àï¬ãî ª ®à¨£¨ «ã.
|
||||
|
||||
|
@ -10,6 +10,7 @@ _____________________________________________________________________________
|
||||
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
|
||||
_____________________________________________________________________________
|
||||
|
||||
+ ReplyLink ¬®¦¥â ¯à¨¨¬ âì § 票¥ "none" - ¥ «¨ª®¢ âì.
|
||||
- ˆá¯à ¢«¥® § ¥¤ ¨¥ ¢ ¤¥à¥¢¥ ®â¢¥â®¢, ¥á«¨ ¦ âì ESC ¢ â।¥.
|
||||
- uudecoder: ⥯¥àì ¡ã¤¥â ¯à®¨£®à¨à®¢ ® ¢á¥ ¯®á«¥ áâப ¯® ¬ ᪥
|
||||
"sum -r/size [0-9]+/[0-9]+ section.*" ¨«¨ "section [0-9]+ end.*"
|
||||
|
@ -10,6 +10,8 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
+ ReplyLink config keyword can be "none" now - do not link.
|
||||
|
||||
- Fixed thread lock if ESC is pressed in thread list.
|
||||
|
||||
- uudecoder: now are skipped all lines which follows lines with mask
|
||||
|
@ -175,11 +175,13 @@ void CfgRa2usersbbs() {
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
void CfgReplylink() {
|
||||
|
||||
if(strieql(val, "Chain"))
|
||||
void CfgReplylink()
|
||||
{
|
||||
if (strieql(val, "none"))
|
||||
CFG->replylink = REPLYLINK_NONE;
|
||||
if (strieql(val, "chain"))
|
||||
CFG->replylink = REPLYLINK_CHAIN;
|
||||
else if(strieql(val, "Direct"))
|
||||
else if(strieql(val, "direct"))
|
||||
CFG->replylink = REPLYLINK_DIRECT;
|
||||
}
|
||||
|
||||
|
@ -996,11 +996,17 @@ void MakeMsg(int mode, GMsg* omsg, bool ignore_replyto) {
|
||||
if(*msg->references == NUL)
|
||||
throw_release(msg->references);
|
||||
}
|
||||
if(CurrArea == OrigArea) {
|
||||
if((CFG->replylink == REPLYLINK_DIRECT) or streql(AA->basetype(), "JAM"))
|
||||
reply_msgno = omsg->msgno;
|
||||
else if(CFG->replylink == REPLYLINK_CHAIN)
|
||||
GetLastLink(omsg, reply_msgno);
|
||||
|
||||
if (CurrArea == OrigArea)
|
||||
{
|
||||
if (CFG->replylink != REPLYLINK_NONE)
|
||||
{
|
||||
if ((CFG->replylink == REPLYLINK_DIRECT) or streql(AA->basetype(), "JAM"))
|
||||
reply_msgno = omsg->msgno;
|
||||
else if (CFG->replylink == REPLYLINK_CHAIN)
|
||||
GetLastLink(omsg, reply_msgno);
|
||||
}
|
||||
|
||||
msg->link.to_set(reply_msgno);
|
||||
if(msg->link.to() == omsg->msgno)
|
||||
omsg->link.first_set(msg->msgno);
|
||||
|
Reference in New Issue
Block a user