Merge pull request #2626 from mattermost/plt-2150

PLT-2150 Send notifications to the creator of a posting webhook
Этот коммит содержится в:
Joram Wilander
2016-04-04 11:56:51 -04:00
родитель 578749d083 277630b560
Коммит 2bb9332467

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

@@ -544,7 +544,7 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel *
}
for _, userId := range userIds {
if post.UserId == userId {
if post.UserId == userId && post.Props["from_webhook"] != "true" {
continue
}
sendEmail := true