PLT-2990 Clicking on a desktop notification from another team opens the team (#3253)

Этот коммит содержится в:
enahum
2016-06-06 10:46:09 -03:00
коммит произвёл Harrison Healey
родитель 6ab893dcba
Коммит 6cee1f87f2
4 изменённых файлов: 19 добавлений и 6 удалений

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

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