mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-11-22 14:08:39 +01:00
Also check title for filter string.
This commit is contained in:
parent
182c57fafb
commit
f6eec12642
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ func getArticles(feedURL string, max int, noExcerpt bool, filter []string, filte
|
||||||
// configured in FilterMessage
|
// configured in FilterMessage
|
||||||
filterStrike := false
|
filterStrike := false
|
||||||
for _, filterString := range filterMessage {
|
for _, filterString := range filterMessage {
|
||||||
if strings.Contains(description, filterString) {
|
if strings.Contains(description, filterString) || strings.Contains(feed.Title, filterString) {
|
||||||
filterStrike = true
|
filterStrike = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue