summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/notification.go')
-rw-r--r--app/notification.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/notification.go b/app/notification.go
index 7725445e4..30ce83360 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -849,6 +849,7 @@ func GetExplicitMentions(message string, keywords map[string][]string) *Explicit
return isMention
}
+
processText := func(text string) {
for _, word := range strings.FieldsFunc(text, func(c rune) bool {
// Split on any whitespace or punctuation that can't be part of an at mention or emoji pattern