aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorHJ <spam@hjkos.com>2019-01-22 17:46:08 +0000
committerHJ <spam@hjkos.com>2019-01-22 17:46:08 +0000
commit3a3cf1d48a67c82bb2c94cafb0150b1fa8e4de1a (patch)
tree5e39bb41c1e73191b2ff6222eee8720420f13dfd /src/components/status/status.js
parent7651290e2be72ed35d7582757251eb151fdce953 (diff)
parent92dedcd53e56562205e704eea2754f159eb9707d (diff)
Merge branch 'favorites' into 'develop'
Add Favorites TL to user profile, add some initial support for MastoAPI Closes #265 and #262 See merge request pleroma/pleroma-fe!462
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 7d6acbac..105a736b 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -129,7 +129,7 @@ const Status = {
if (this.status.user.id === this.$store.state.users.currentUser.id) {
return false
}
- if (this.status.activity_type === 'repeat') {
+ if (this.status.type === 'retweet') {
return false
}
var checkFollowing = this.$store.state.config.replyVisibility === 'following'
@@ -258,7 +258,7 @@ const Status = {
},
replyEnter (id, event) {
this.showPreview = true
- const targetId = Number(id)
+ const targetId = id
const statuses = this.$store.state.statuses.allStatuses
if (!this.preview) {
@@ -283,7 +283,6 @@ const Status = {
},
watch: {
'highlight': function (id) {
- id = Number(id)
if (this.status.id === id) {
let rect = this.$el.getBoundingClientRect()
if (rect.top < 100) {