aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorjasper <jasper92341@hotmail.com>2019-02-08 04:25:56 -0800
committerjasper <jasper92341@hotmail.com>2019-02-08 04:31:44 -0800
commit10c7365451c7820482def600ed84580c76f6b2ac (patch)
tree502c45d768373fbcbb7622bf0805e0cdb52910b0 /src/components/status/status.js
parentfbdb7d3d9510851518fb3669ed9294210b10458c (diff)
Add option to hide filtered statuses
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 3403fd12..4a1fcfdf 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -115,6 +115,9 @@ const Status = {
? this.$store.state.instance.hideFilteredStatuses
: this.$store.state.config.hideFilteredStatuses
},
+ hideStatus () {
+ return (!this.hideReply && !this.deleted) && !(this.muted && this.hideFilteredStatuses)
+ },
isFocused () {
// retweet or root of an expanded conversation
if (this.focused) {