diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-06-28 14:44:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-28 14:44:37 -0400 |
commit | 422e12c364fb999d9ba2764bff04da87e0409047 (patch) | |
tree | 83cb7c46f8de856641c988608849c20501dd5d44 /api | |
parent | ed75dfc6c090bd247ab9fe2965aed82c552bbc08 (diff) | |
download | chat-422e12c364fb999d9ba2764bff04da87e0409047.tar.gz chat-422e12c364fb999d9ba2764bff04da87e0409047.tar.bz2 chat-422e12c364fb999d9ba2764bff04da87e0409047.zip |
Changing email notifications to use permalinks (#3399)
Diffstat (limited to 'api')
-rw-r--r-- | api/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go index 5f9c7e584..6641a5f9b 100644 --- a/api/post.go +++ b/api/post.go @@ -692,7 +692,7 @@ func sendNotificationEmail(c *Context, post *model.Post, user *model.User, chann bodyPage := utils.NewHTMLTemplate("post_body", user.Locale) bodyPage.Props["SiteURL"] = c.GetSiteURL() bodyPage.Props["PostMessage"] = model.ClearMentionTags(post.Message) - bodyPage.Props["TeamLink"] = teamURL + "/channels/" + channel.Name + bodyPage.Props["TeamLink"] = teamURL + "/pl/" + post.Id bodyPage.Props["BodyText"] = bodyText bodyPage.Props["Button"] = userLocale("api.templates.post_body.button") bodyPage.Html["Info"] = template.HTML(userLocale("api.templates.post_body.info", |