Add mentions to the mentions channel

This commit is contained in:
Peter Stuifzand 2018-04-26 22:13:13 +02:00
parent 28e8ce6f78
commit 3bff9eb481

View File

@ -339,7 +339,7 @@ func (b *memoryBackend) ProcessContent(channel, fetchURL, contentType string, bo
// Add items to notifications that match my name and websites
if item.Content != nil && (len(item.Content.Text) > 0 && nameRegex.MatchString(item.Content.Text) || item.Content != nil && len(item.Content.HTML) > 0 && nameRegex.MatchString(item.Content.HTML)) {
b.channelAddItem("notifications", item)
b.channelAddItem("mentions", item)
}
}