remove notification as requested in PLT-6537 (#6412)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
fc58174747
Коммит
a123b54d5e
@@ -98,7 +98,9 @@ func SendNotifications(post *model.Post, team *model.Team, channel *model.Channe
|
|||||||
if len(potentialOtherMentions) > 0 {
|
if len(potentialOtherMentions) > 0 {
|
||||||
if result := <-Srv.Store.User().GetProfilesByUsernames(potentialOtherMentions, team.Id); result.Err == nil {
|
if result := <-Srv.Store.User().GetProfilesByUsernames(potentialOtherMentions, team.Id); result.Err == nil {
|
||||||
outOfChannelMentions := result.Data.([]*model.User)
|
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)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user