aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-12-22 17:32:35 +0200
committershpuld <shp@cock.li>2018-12-22 17:32:35 +0200
commitf72b1d048e636c0637dfb1469c32875bcacce61f (patch)
tree8711385018c1f04b14289024424becd0574b8386 /src/components/status/status.js
parent4836c8ac74569668001f1adc39fe84377ddb7dba (diff)
parente59b67e119f1f598354fb0dca86774e1b0f6c4c4 (diff)
Merge branch 'develop' into feature/replace-panel-switcher
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 47a62fdf..e683056f 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -188,7 +188,9 @@ const Status = {
},
replySubject () {
if (!this.status.summary) return ''
- const behavior = this.$store.state.config.subjectLineBehavior
+ const behavior = typeof this.$store.state.config.subjectLineBehavior === 'undefined'
+ ? this.$store.state.instance.subjectLineBehavior
+ : this.$store.state.config.subjectLineBehavior
const startsWithRe = this.status.summary.match(/^re[: ]/i)
if (behavior !== 'noop' && startsWithRe || behavior === 'masto') {
return this.status.summary