aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@gmail.com>2017-03-10 07:12:04 -0500
committerShpuld Shpuldson <shpuld@gmail.com>2017-03-10 07:12:04 -0500
commit33f72ab2c215ebd7709edaf7a63062aabe8363cc (patch)
treea2cec29e4afab22aeec5e7ed41b25a19263402d3 /src/components/status/status.js
parentbfbbb527677ba4648b1be376bb02b0bd3c3e29ba (diff)
parent896de016adbabd142c09476a323f4e02cefa88c9 (diff)
Merge branch 'wakarimasen/pleroma-fe-develop' into 'develop'
Wakarimasen/pleroma fe develop See merge request !55
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 6faebf61..87fff879 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -9,6 +9,7 @@ const Status = {
props: [
'statusoid',
'expandable',
+ 'inConversation',
'focused'
],
data: () => ({
@@ -18,7 +19,10 @@ const Status = {
userExpanded: false
}),
computed: {
- hideAttachments () { return this.$store.state.config.hideAttachments },
+ hideAttachments () {
+ return (this.$store.state.config.hideAttachments && !this.inConversation) ||
+ (this.$store.state.config.hideAttachmentsInConv && this.inConversation)
+ },
retweet () { return !!this.statusoid.retweeted_status },
retweeter () { return this.statusoid.user.name },
status () {