fix repeats having wrong mentions

This commit is contained in:
Henry Jameson 2021-06-08 17:05:20 +03:00
parent e2b24a9894
commit b4814d900c

View file

@ -170,9 +170,9 @@ const Status = {
return this.mergedConfig.mentionsOwnLine return this.mergedConfig.mentionsOwnLine
}, },
mentions () { mentions () {
return this.statusoid.attentions.filter(attn => { return this.status.attentions.filter(attn => {
return attn.screen_name !== this.replyToName && return attn.screen_name !== this.replyToName &&
attn.screen_name !== this.statusoid.user.screen_name attn.screen_name !== this.statuso.user.screen_name
}) })
}, },
hasMentions () { hasMentions () {