aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwakarimasen <wakarimasen@airmail.cc>2017-03-06 16:21:11 +0100
committerwakarimasen <wakarimasen@airmail.cc>2017-03-06 16:21:11 +0100
commit9d56721533d46cbd88db8e64edb8d6fddf61298e (patch)
treef97479dabe7c597233263f3378aa84ea301cee0d /src
parenteab4b769515fe99f179118b087f93db2ba8c4719 (diff)
Highlight original notice when expanding retweets
Diffstat (limited to 'src')
-rw-r--r--src/components/conversation/conversation.js6
-rw-r--r--src/components/status/status.js2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index a598b521..769893d3 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -49,7 +49,11 @@ const conversation = {
}
},
focused: function (id) {
- return (id === this.statusoid.id)
+ if (!!this.statusoid.retweeted_status) {
+ return (id === this.statusoid.retweeted_status.id)
+ } else {
+ return (id === this.statusoid.id)
+ }
}
}
}
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 101a0e14..bc9d6e6c 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -32,7 +32,7 @@ const Status = {
return !!this.$store.state.users.currentUser
},
muted () { return !this.unmuted && this.status.user.muted },
- isReply () { return !!this.statusoid.in_reply_to_status_id }
+ isReply () { return !!this.status.in_reply_to_status_id }
},
components: {
Attachment,