configurable mentions placement
This commit is contained in:
parent
3abd357694
commit
9ea370033a
9 changed files with 75 additions and 53 deletions
|
@ -105,6 +105,9 @@ const Status = {
|
|||
muteWords () {
|
||||
return this.mergedConfig.muteWords
|
||||
},
|
||||
mentionsOldPlace () {
|
||||
return this.mergedConfig.mentionsOldPlace
|
||||
},
|
||||
showReasonMutedThread () {
|
||||
return (
|
||||
this.status.thread_muted ||
|
||||
|
@ -137,7 +140,7 @@ 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_screen_name).statusnet_profile_url
|
||||
return this.$store.getters.findUser(this.status.in_reply_to_user_id).statusnet_profile_url
|
||||
},
|
||||
retweet () { return !!this.statusoid.retweeted_status },
|
||||
retweeterUser () { return this.statusoid.user },
|
||||
|
@ -163,7 +166,8 @@ const Status = {
|
|||
},
|
||||
mentions () {
|
||||
return this.statusoid.attentions.filter(attn => {
|
||||
return attn.screen_name !== this.replyToName
|
||||
return attn.screen_name !== this.replyToName &&
|
||||
attn.screen_name !== this.statusoid.user.screen_name
|
||||
})
|
||||
},
|
||||
hasMentions () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue