mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-11-10 00:06:49 +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
|
||||
filterStrike := false
|
||||
for _, filterString := range filterMessage {
|
||||
if strings.Contains(description, filterString) {
|
||||
if strings.Contains(description, filterString) || strings.Contains(feed.Title, filterString) {
|
||||
filterStrike = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue