diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/post.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/post.go b/api/post.go index c646b056a..ef9c0991d 100644 --- a/api/post.go +++ b/api/post.go @@ -600,6 +600,9 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel * } mentionedUserIds[otherUserId] = true + if post.Props["from_webhook"] == "true" { + mentionedUserIds[post.UserId] = true + } } else { keywords := getMentionKeywordsInChannel(profileMap) |