diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-19 11:49:59 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-19 11:49:59 -0700 |
commit | 9f652310a5ee9c51633264d08434e4a08224a9eb (patch) | |
tree | 80e91b8343f567f301d247392d09ba620909076d /api/post.go | |
parent | c1740ffa2fcfcf663d8e847cfe03187fb600b6c1 (diff) | |
parent | 6c8d7b1b9fe00e60582900b7c1e782e2c0a00325 (diff) | |
download | chat-9f652310a5ee9c51633264d08434e4a08224a9eb.tar.gz chat-9f652310a5ee9c51633264d08434e4a08224a9eb.tar.bz2 chat-9f652310a5ee9c51633264d08434e4a08224a9eb.zip |
Merge pull request #16 from rgarmsen2295/master
Remerging
Diffstat (limited to 'api/post.go')
-rw-r--r-- | api/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go index 36607c231..3acc95551 100644 --- a/api/post.go +++ b/api/post.go @@ -302,7 +302,7 @@ func fireAndForgetNotifications(post *model.Post, teamId, teamUrl string) { // Build a map as a list of unique user_ids that are mentioned in this post splitF := func(c rune) bool { - return c == ',' || c == ' ' || c == '.' || c == '!' || c == '?' || c == ':' || c == '<' || c == '>' + return model.SplitRunes[c] } splitMessage := strings.FieldsFunc(strings.Replace(post.Message, "<br>", " ", -1), splitF) for _, word := range splitMessage { |