gofmt
Этот коммит содержится в:
@@ -819,7 +819,6 @@ func GetExplicitMentions(message string, keywords map[string][]string) *Explicit
|
|||||||
ret.MentionedUserIds[id] = true
|
ret.MentionedUserIds[id] = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
checkForMention := func(word string) bool {
|
checkForMention := func(word string) bool {
|
||||||
isMention := false
|
isMention := false
|
||||||
|
|
||||||
@@ -849,7 +848,6 @@ func GetExplicitMentions(message string, keywords map[string][]string) *Explicit
|
|||||||
|
|
||||||
return isMention
|
return isMention
|
||||||
}
|
}
|
||||||
|
|
||||||
processText := func(text string) {
|
processText := func(text string) {
|
||||||
for _, word := range strings.FieldsFunc(text, func(c rune) bool {
|
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
|
// Split on any whitespace or punctuation that can't be part of an at mention or emoji pattern
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user