From 54ac0dfefd168bcdc08d533684a6a6a7fcf69cbc Mon Sep 17 00:00:00 2001 From: scarlett Date: Sun, 26 Aug 2018 01:50:11 +0100 Subject: Preserve subject in replies. --- src/components/status/status.js | 6 ++++++ src/components/status/status.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src/components/status') diff --git a/src/components/status/status.js b/src/components/status/status.js index 7aa1e03b..a6c49f7c 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -173,6 +173,12 @@ const Status = { } return true }, + replySubject () { + if (this.status.summary && !this.status.summary.match(/^re[: ]/i)) { + return 're: '.concat(this.status.summary) + } + return this.status.summary + }, attachmentSize () { if ((this.$store.state.config.hideAttachments && !this.inConversation) || (this.$store.state.config.hideAttachmentsInConv && this.inConversation)) { diff --git a/src/components/status/status.vue b/src/components/status/status.vue index c7ef92a2..123b0cc2 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -102,7 +102,7 @@
- +
-- cgit v1.2.3-70-g09d2