remove notification as requested in PLT-6537 (#6412)

Этот коммит содержится в:
Carlos Tadeu Panato Junior
2017-05-18 14:58:40 +02:00
коммит произвёл Joram Wilander
родитель fc58174747
Коммит a123b54d5e

Просмотреть файл

@@ -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)
}
}
}