Highlight original notice when expanding retweets

This commit is contained in:
wakarimasen 2017-03-06 16:21:11 +01:00
parent eab4b76951
commit 9d56721533
2 changed files with 6 additions and 2 deletions

View file

@ -49,7 +49,11 @@ const conversation = {
} }
}, },
focused: function (id) { 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)
}
} }
} }
} }

View file

@ -32,7 +32,7 @@ const Status = {
return !!this.$store.state.users.currentUser return !!this.$store.state.users.currentUser
}, },
muted () { return !this.unmuted && this.status.user.muted }, 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: { components: {
Attachment, Attachment,