Этот коммит содержится в:
Stephen Kiers
2018-02-12 16:30:03 -07:00
родитель 32c1f7be23
Коммит 0cbba46018
2 изменённых файлов: 21 добавлений и 0 удалений

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

@@ -832,6 +832,9 @@ func GetExplicitMentions(message string, keywords map[string][]string) *Explicit
continue
}
// remove trailing '.', as that is the end of a sentence
word = strings.TrimSuffix(word, ".")
if word == "@here" {
ret.HereMentioned = true
}