summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/post.go')
-rw-r--r--api/post.go3
1 files changed, 0 insertions, 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 {