Also check title for filter string.

This commit is contained in:
Martin Dosch 2023-09-30 21:41:01 +03:00
parent 182c57fafb
commit f6eec12642

View file

@ -240,7 +240,7 @@ func getArticles(feedURL string, max int, noExcerpt bool, filter []string, filte
// configured in FilterMessage
filterStrike := false
for _, filterString := range filterMessage {
if strings.Contains(description, filterString) {
if strings.Contains(description, filterString) || strings.Contains(feed.Title, filterString) {
filterStrike = true
}
}