New config file token: AKAMatchManually
This commit is contained in:
parent
e91beedb81
commit
cdcef282fc
@ -130,6 +130,10 @@ AKAMATCHNET YES ; Enable aka matching in netmail.
|
||||
; (use the "From" field only).
|
||||
;AKAMATCHFROMTO ALWAYS ; Use default area AKA, instead of AKA from "To"
|
||||
|
||||
//
|
||||
AKAMatchManually No
|
||||
;AKAMatchManually Yes
|
||||
|
||||
----------------------------------------------------------------------
|
||||
-- NODELISTS AND USERLISTS
|
||||
|
||||
|
@ -98,6 +98,11 @@ AKAMatchFromTo No ;
|
||||
; ¢ë¡¨à âì AKA ®á®¢ ¨¨ ¯®«ï To.
|
||||
;AKAMatchFromTo Always ; ˆá¯®«ì§®¢ âì AKA ¯® 㬮«ç ¨î ¤«ï ਨ, ¢¬¥áâ® AKA ¨§ ¯®«ï To
|
||||
|
||||
// <20>®á«¥ ¢á¥å ¯à ¢¨« ¢â®¬ â¨ç¥áª®£® ¯®¤¡®à €Š€, ¡ã¤¥â ¯à¥¤«®¦¥®
|
||||
// ¢ë¡à âì ¤à㣮©/᪮à४â¨à®¢ âì €Š€ ¨§ ᯨ᪠. (¯® 㬮«ç ¨î: No)
|
||||
AKAMatchManually No
|
||||
;AKAMatchManually Yes
|
||||
|
||||
----------------------------------------------------------------------
|
||||
-- <20>Ž„‹ˆ‘’› ˆ ‘<>ˆ‘Šˆ <20>Ž‹œ‡Ž‚€’…‹…‰ (USERLISTS)
|
||||
|
||||
|
@ -10,11 +10,15 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
|
||||
+ New config file token: AKAMatchManually (yes/no). If set to "yes" then manual
|
||||
selection of the AKA is forced.
|
||||
(Patch from Ianos Gnatiuc 2:5030/830.17)
|
||||
|
||||
+ New macros in message template for echomail messages:
|
||||
@echopath - path to echoarea base (fill pathname like specified in config),
|
||||
@echopath - path to echoarea base (full pathname like specified in config),
|
||||
@echoname - echoarea name (areatag),
|
||||
@echotype - echoarea base type (OPUS, JAM, Squish, PCBoard, ...).
|
||||
(Patch from Ianos Gnatiuc 2:5030/830.17)
|
||||
|
||||
+ Golded+/lnx: Adopt clipboard usage to newest versions of Midnight Commander.
|
||||
|
||||
|
@ -687,6 +687,7 @@ CfgGed::CfgGed() {
|
||||
addressbookadd = YES;
|
||||
addresslookupfirst = false;
|
||||
akamatchfromto = NO;
|
||||
akamatchmanually = false;
|
||||
areaautoid = AUTOID_LONG;
|
||||
areacopydirect = false;
|
||||
areacopyaddid = false;
|
||||
|
@ -39,6 +39,7 @@ const word CRC_AKAMATCHECHO = 0xF0C1;
|
||||
const word CRC_AKAMATCHFROMTO = 0xD8B9;
|
||||
const word CRC_AKAMATCHING = 0x869A;
|
||||
const word CRC_AKAMATCHLOCAL = 0x4AC4;
|
||||
const word CRC_AKAMATCHMANUALLY = 0x9F9C;
|
||||
const word CRC_AKAMATCHNET = 0xFD6E;
|
||||
const word CRC_AREA = 0x010B;
|
||||
const word CRC_AREAAUTOID = 0x365D;
|
||||
|
@ -192,6 +192,7 @@ SwitchA:
|
||||
case CRC_AKAMATCH : CfgAkamatch (); break;
|
||||
case CRC_AKAMATCHFROMTO : CfgAkamatchfromto (); break;
|
||||
case CRC_AKAMATCHING : CfgAkamatching (); break;
|
||||
case CRC_AKAMATCHMANUALLY : CfgAkamatchmanually (); break;
|
||||
case CRC_AREAAUTOID : CfgAreaautoid (); break;
|
||||
case CRC_AREACFMREPLYTO : CfgAreacfmreplyto (); break;
|
||||
case CRC_AREACOPYADDID : CfgAreacopyaddid (); break;
|
||||
|
@ -191,6 +191,13 @@ void CfgAkamatching() {
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
void CfgAkamatchmanually()
|
||||
{
|
||||
CFG->akamatchmanually = (0 != GetYesno(val));
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
void CfgArea() {
|
||||
|
||||
AL.GetArea(val);
|
||||
|
@ -42,6 +42,7 @@ void CfgAkamatchecho ();
|
||||
void CfgAkamatchfromto ();
|
||||
void CfgAkamatching ();
|
||||
void CfgAkamatchlocal ();
|
||||
void CfgAkamatchmanually ();
|
||||
void CfgAkamatchnet ();
|
||||
void CfgArea ();
|
||||
void CfgAreaautoid ();
|
||||
|
@ -141,6 +141,7 @@ public:
|
||||
std::vector<gaka> aka;
|
||||
std::vector<AkaMatchG> akamatch;
|
||||
int akamatchfromto;
|
||||
bool akamatchmanually;
|
||||
int areaautoid;
|
||||
Echo areacfmreplyto;
|
||||
bool areacopydirect;
|
||||
|
@ -907,6 +907,8 @@ void MakeMsg(int mode, GMsg* omsg, bool ignore_replyto) {
|
||||
AkaMatch(&aka_addr, &omsg->orig);
|
||||
AA->SetAka(aka_addr);
|
||||
}
|
||||
|
||||
if (CFG->akamatchmanually) ChangeAka();
|
||||
}
|
||||
|
||||
if((mode == MODE_REPLYCOMMENT) and not omsg->fwdorig.net) {
|
||||
|
Reference in New Issue
Block a user