summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDerrick Anderson <derrick@andersonwebstudio.com>2018-03-13 09:44:18 -0400
committerDerrick Anderson <derrick@andersonwebstudio.com>2018-03-13 09:44:18 -0400
commitff5f511dfd7e6b2019d1a56922dfa72181307b46 (patch)
tree2cae0ded6b25e9942372a42ab83a0d41cdc23112 /app
parentf2d26801b9647715fb43af873354d8def753868b (diff)
parent0d1177cdf9058a033ae7c714162245f696df1b4d (diff)
downloadchat-ff5f511dfd7e6b2019d1a56922dfa72181307b46.tar.gz
chat-ff5f511dfd7e6b2019d1a56922dfa72181307b46.tar.bz2
chat-ff5f511dfd7e6b2019d1a56922dfa72181307b46.zip
Merge remote-tracking branch 'origin/t3mergetomaster'
Diffstat (limited to 'app')
-rw-r--r--app/notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notification.go b/app/notification.go
index 8cb63fbaf..9a8096bbf 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -89,7 +89,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
delete(mentionedUserIds, post.UserId)
}
- if len(m.OtherPotentialMentions) > 0 {
+ if len(m.OtherPotentialMentions) > 0 && !post.IsSystemMessage() {
if result := <-a.Srv.Store.User().GetProfilesByUsernames(m.OtherPotentialMentions, team.Id); result.Err == nil {
outOfChannelMentions := result.Data.([]*model.User)
if channel.Type != model.CHANNEL_GROUP {