Merge pull request #2626 from mattermost/plt-2150
PLT-2150 Send notifications to the creator of a posting webhook
Этот коммит содержится в:
@@ -544,7 +544,7 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel *
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, userId := range userIds {
|
for _, userId := range userIds {
|
||||||
if post.UserId == userId {
|
if post.UserId == userId && post.Props["from_webhook"] != "true" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
sendEmail := true
|
sendEmail := true
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user