mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 12:14:18 +00:00
don't prepend "RE:" is the CW already has it
This commit is contained in:
@@ -373,7 +373,7 @@ if (props.specified) {
|
||||
// keep cw when reply
|
||||
if (prefer.s.keepCw && props.reply && props.reply.cw) {
|
||||
useCw.value = true;
|
||||
cw.value = prefer.s.keepCw === 'prepend-re'
|
||||
cw.value = (prefer.s.keepCw === 'prepend-re' && !props.reply.cw.toLowerCase().startsWith('re:'))
|
||||
? `RE: ${props.reply.cw}`
|
||||
: props.reply.cw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user