fix repeats having wrong mentions

This commit is contained in:
Henry Jameson 2021-06-08 17:05:20 +03:00
parent 963f1679e0
commit 8c8237418c

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