add option to keep CWs with "RE:" prefix

This commit is contained in:
Hazelnoot 2025-06-04 14:20:06 -04:00
parent dae544b353
commit 3bf1cb1545
6 changed files with 51 additions and 22 deletions

View file

@ -373,7 +373,9 @@ if (props.specified) {
// keep cw when reply
if (prefer.s.keepCw && props.reply && props.reply.cw) {
useCw.value = true;
cw.value = props.reply.cw;
cw.value = prefer.s.keepCw === 'prepend-re'
? `RE: ${props.reply.cw}`
: props.reply.cw;
}
// apply default CW