Merge branch 'better-still-emoji' into shigusegubu
* better-still-emoji: fix repeats having wrong mentions fix console errors
This commit is contained in:
commit
d2f9a4a1e6
4 changed files with 19 additions and 12 deletions
|
|
@ -139,7 +139,10 @@ const Status = {
|
|||
return this.generateUserProfileLink(this.status.user.id, this.status.user.screen_name)
|
||||
},
|
||||
replyProfileLink () {
|
||||
return this.$store.getters.findUser(this.status.in_reply_to_user_id).statusnet_profile_url
|
||||
if (this.isReply) {
|
||||
const user = this.$store.getters.findUser(this.status.in_reply_to_user_id)
|
||||
return user && user.statusnet_profile_url
|
||||
}
|
||||
},
|
||||
retweet () { return !!this.statusoid.retweeted_status },
|
||||
retweeterUser () { return this.statusoid.user },
|
||||
|
|
@ -167,9 +170,9 @@ const Status = {
|
|||
return this.mergedConfig.mentionsOwnLine
|
||||
},
|
||||
mentions () {
|
||||
return this.statusoid.attentions.filter(attn => {
|
||||
return this.status.attentions.filter(attn => {
|
||||
return attn.screen_name !== this.replyToName &&
|
||||
attn.screen_name !== this.statusoid.user.screen_name
|
||||
attn.screen_name !== this.statuso.user.screen_name
|
||||
})
|
||||
},
|
||||
hasMentions () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue