mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-11-26 07:50:59 +01:00
more formatting
This commit is contained in:
parent
40c88d7867
commit
912e68d33c
1 changed files with 2 additions and 1 deletions
|
@ -239,7 +239,8 @@ 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) || strings.Contains(feed.Title, filterString) {
|
if strings.Contains(description, filterString) ||
|
||||||
|
strings.Contains(feed.Title, filterString) {
|
||||||
filterStrike = true
|
filterStrike = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue