summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
authorStephen Kiers <stephen@stephenkiers.com>2018-02-13 13:01:31 -0700
committerStephen Kiers <stephen@stephenkiers.com>2018-02-13 13:01:31 -0700
commit2544ad70c392db2d859c98d582efad28ce59987d (patch)
tree0e615cae9c689fda00fe2b19de8cb38abbe041d0 /app/notification.go
parent1fe522659b0ecaa61d9c3d652ae2d89dd895248c (diff)
downloadchat-2544ad70c392db2d859c98d582efad28ce59987d.tar.gz
chat-2544ad70c392db2d859c98d582efad28ce59987d.tar.bz2
chat-2544ad70c392db2d859c98d582efad28ce59987d.zip
rerun jenkins?
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