Send notifications to the creator of a posting webhook

Этот коммит содержится в:
JoramWilander
2016-04-04 11:12:37 -04:00
родитель ead8e64ccb
Коммит 277630b560

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

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