summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/notification.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/notification.go b/app/notification.go
index 0f59fae21..4efdd3d6d 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -98,7 +98,9 @@ func SendNotifications(post *model.Post, team *model.Team, channel *model.Channe
if len(potentialOtherMentions) > 0 {
if result := <-Srv.Store.User().GetProfilesByUsernames(potentialOtherMentions, team.Id); result.Err == nil {
outOfChannelMentions := result.Data.([]*model.User)
- go sendOutOfChannelMentions(sender, post, team.Id, outOfChannelMentions)
+ if channel.Type != model.CHANNEL_GROUP {
+ go sendOutOfChannelMentions(sender, post, team.Id, outOfChannelMentions)
+ }
}
}