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