aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-03-10 13:27:58 +0100
committerRoger Braun <roger@rogerbraun.net>2017-03-10 13:27:58 +0100
commit112adcf8f83e1bd8dd347ef8ee4de46060b53341 (patch)
treeaa6288f000d72dfd2f166642d413637a77f1aa42 /src/components/status/status.js
parent0eeccb87cef4d137710e3c7fd215b94e45aff3d1 (diff)
parent33f72ab2c215ebd7709edaf7a63062aabe8363cc (diff)
Merge branch 'develop' into feature/hash-routed
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index bc9d6e6c..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 () {
@@ -32,7 +36,12 @@ const Status = {
return !!this.$store.state.users.currentUser
},
muted () { return !this.unmuted && this.status.user.muted },
- isReply () { return !!this.status.in_reply_to_status_id }
+ isReply () { return !!this.status.in_reply_to_status_id },
+ borderColor () {
+ return {
+ borderBottomColor: this.$store.state.config.colors['base02']
+ }
+ }
},
components: {
Attachment,