diff options
author | Derrick Anderson <derrick@andersonwebstudio.com> | 2018-03-13 09:44:18 -0400 |
---|---|---|
committer | Derrick Anderson <derrick@andersonwebstudio.com> | 2018-03-13 09:44:18 -0400 |
commit | ff5f511dfd7e6b2019d1a56922dfa72181307b46 (patch) | |
tree | 2cae0ded6b25e9942372a42ab83a0d41cdc23112 /app/notification.go | |
parent | f2d26801b9647715fb43af873354d8def753868b (diff) | |
parent | 0d1177cdf9058a033ae7c714162245f696df1b4d (diff) | |
download | chat-ff5f511dfd7e6b2019d1a56922dfa72181307b46.tar.gz chat-ff5f511dfd7e6b2019d1a56922dfa72181307b46.tar.bz2 chat-ff5f511dfd7e6b2019d1a56922dfa72181307b46.zip |
Merge remote-tracking branch 'origin/t3mergetomaster'
Diffstat (limited to 'app/notification.go')
-rw-r--r-- | app/notification.go | 2 |
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 { |