all the manual fixes

This commit is contained in:
Henry Jameson 2019-07-07 00:54:17 +03:00
parent 1ec4caa0bb
commit 020c6d1bcf
31 changed files with 74 additions and 57 deletions

View file

@ -221,7 +221,7 @@ const Status = {
? this.$store.state.instance.subjectLineBehavior
: this.$store.state.config.subjectLineBehavior
const startsWithRe = decodedSummary.match(/^re[: ]/i)
if (behavior !== 'noop' && startsWithRe || behavior === 'masto') {
if ((behavior !== 'noop' && startsWithRe) || behavior === 'masto') {
return decodedSummary
} else if (behavior === 'email') {
return 're: '.concat(decodedSummary)