summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/notification.go')
-rw-r--r--app/notification.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/notification.go b/app/notification.go
index 1318308f8..6531f72f7 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -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
}