summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/post.go')
-rw-r--r--api/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go
index 2fe5feb8e..6f88c815b 100644
--- a/api/post.go
+++ b/api/post.go
@@ -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