aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-09-13 15:34:17 -0400
committertaehoon <th.dev91@gmail.com>2019-09-13 15:38:04 -0400
commit09deb69bc78fb5cfd3d9ff2455a5632ed71dd14b (patch)
treebbc6974b641a830d7a87846a4a3c685178cdb929 /src/components/status/status.js
parent09db4ceb1a1ffbd1886648142f2cc2b287dcb5c9 (diff)
do not collapse muted user's posts on muted user's profile page
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 502d9583..474a0480 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -29,7 +29,8 @@ const Status = {
'isPreview',
'noHeading',
'inlineExpanded',
- 'showPinned'
+ 'showPinned',
+ 'forceUnmute'
],
data () {
return {
@@ -117,7 +118,7 @@ const Status = {
return hits
},
- muted () { return !this.unmuted && (this.status.user.muted || this.muteWordHits.length > 0) },
+ muted () { return !this.forceUnmute && !this.unmuted && (this.status.user.muted || this.muteWordHits.length > 0) },
hideFilteredStatuses () {
return typeof this.$store.state.config.hideFilteredStatuses === 'undefined'
? this.$store.state.instance.hideFilteredStatuses