now it actually works
This commit is contained in:
parent
6165b7366a
commit
ef968d8e1e
5 changed files with 21 additions and 9 deletions
|
@ -174,10 +174,16 @@ const Status = {
|
|||
return true
|
||||
},
|
||||
replySubject () {
|
||||
if (this.status.summary && !this.status.summary.match(/^re[: ]/i)) {
|
||||
if (!this.status.summary) return '';
|
||||
const behavior = this.$store.state.config.subjectLineBehavior
|
||||
const startsWithRe = this.status.summary.match(/^re[: ]/i)
|
||||
if (behavior !== 'noop' && startsWithRe || behavior === 'masto') {
|
||||
return this.status.summary
|
||||
} else if (behavior === 'email') {
|
||||
return 're: '.concat(this.status.summary)
|
||||
} else if (behavior === 'noop') {
|
||||
return ''
|
||||
}
|
||||
return this.status.summary
|
||||
},
|
||||
attachmentSize () {
|
||||
if ((this.$store.state.config.hideAttachments && !this.inConversation) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue