diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/post.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/post.go b/api/post.go index 937628e0a..3acbaff40 100644 --- a/api/post.go +++ b/api/post.go @@ -473,6 +473,7 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel * message := model.NewMessage(c.TeamId, post.ChannelId, post.UserId, model.ACTION_POSTED) message.Add("post", post.ToJson()) message.Add("channel_type", channel.Type) + message.Add("team_id", team.Id) if len(post.Filenames) != 0 { message.Add("otherFile", "true") |