From a123b54d5ecd871feff94a047b99f65607885ee7 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 18 May 2017 14:58:40 +0200 Subject: remove notification as requested in PLT-6537 (#6412) --- app/notification.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app') 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) + } } } -- cgit v1.2.3-1-g7c22