Also apply keyword filter to subjects

This commit is contained in:
Toromino 2019-07-20 19:06:54 +02:00
parent 9c2c00992d
commit fb9f254f8d

View file

@ -110,8 +110,9 @@ const Status = {
},
muteWordHits () {
const statusText = this.status.text.toLowerCase()
const statusSummary = this.status.summary.toLowerCase()
const hits = filter(this.muteWords, (muteWord) => {
return statusText.includes(muteWord.toLowerCase())
return statusText.includes(muteWord.toLowerCase()) || statusSummary.includes(muteWord.toLowerCase())
})
return hits