diff options
| author | kaniini <nenolod@gmail.com> | 2018-08-26 01:22:13 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2018-08-26 01:22:13 +0000 |
| commit | 256aa25a11bbccd2af4f9efa55a6f3155377ab38 (patch) | |
| tree | 047b8cb1f90a0eb06732f80a127d7b21f7d47918 /src/components/status/status.js | |
| parent | a7c6007d54d5e4f083a9bc8475d4041e78a3c2bf (diff) | |
| parent | 54ac0dfefd168bcdc08d533684a6a6a7fcf69cbc (diff) | |
Merge branch 'reply-preserve-subject' into 'develop'
Preserve subject in replies.
See merge request pleroma/pleroma-fe!318
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 6 |
1 files changed, 6 insertions, 0 deletions
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)) { |
