From fb9f254f8d053d0ff789c6bba471eba102ca3ac7 Mon Sep 17 00:00:00 2001 From: Toromino Date: Sat, 20 Jul 2019 19:06:54 +0200 Subject: [PATCH] Also apply keyword filter to subjects --- src/components/status/status.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index 3ab9699700..faefb80ec3 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -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