Этот коммит содержится в:
JoramWilander
2015-06-19 08:25:47 -04:00
родитель d86401a019
Коммит d6ab5bb1c2
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@@ -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 == '>' || c == '\n'
return model.SplitRunes[c]
}
splitMessage := strings.FieldsFunc(strings.Replace(post.Message, "<br>", " ", -1), splitF)
for _, word := range splitMessage {