fix repeats having wrong mentions

This commit is contained in:
Henry Jameson 2021-06-08 17:05:20 +03:00 committed by Sam Therapy
parent c1457c2390
commit 781619dfa6
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -170,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.status.user.screen_name
})
},
hasMentions () {