From 205ccd1bd46e7005950d6ff3667c23ab81056183 Mon Sep 17 00:00:00 2001 From: enahum Date: Fri, 4 Nov 2016 16:15:17 -0300 Subject: 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 --- api/post.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/post.go b/api/post.go index 1a30dca14..e5e18cb52 100644 --- a/api/post.go +++ b/api/post.go @@ -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 { -- cgit v1.2.3-1-g7c22