PLT-4492 Mentions with a comma after them don't trigger notification jewel (#4451)
* PLT-4492 Mentions with a comma after them don't trigger notification jewel * Fix mentions for usernames with dots
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
b37eb09c37
Коммит
205ccd1bd4
@@ -503,9 +503,6 @@ func getExplicitMentions(message string, keywords map[string][]string) (map[stri
|
||||
if ids, match := keywords[word]; match {
|
||||
addMentionedUsers(ids)
|
||||
isMention = true
|
||||
} else if _, ok := systemMentions[word]; !ok && strings.HasPrefix(word, "@") {
|
||||
potentialOthersMentioned = append(potentialOthersMentioned, word[1:])
|
||||
continue
|
||||
}
|
||||
|
||||
if !isMention {
|
||||
|
||||
Ссылка в новой задаче
Block a user