diff options
author | Corey Hulen <corey@hulen.com> | 2015-08-02 09:00:30 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-08-02 09:00:30 -0800 |
commit | faa9bbdf971adcfa31078302e660bb6942246fdb (patch) | |
tree | 24a2f0d83e0b05ad1d85b73937f2f726ce900382 /api/post.go | |
parent | 2aba63df8e091a809a7f23e183ed62aa0873c52e (diff) | |
parent | bc48281f7aedabf5cb830a02b5e081b6554115cf (diff) | |
download | chat-faa9bbdf971adcfa31078302e660bb6942246fdb.tar.gz chat-faa9bbdf971adcfa31078302e660bb6942246fdb.tar.bz2 chat-faa9bbdf971adcfa31078302e660bb6942246fdb.zip |
Merge pull request #305 from nickago/MM-1681
MM-1681 Fixed regression of static images not displaying in emails
Diffstat (limited to 'api/post.go')
-rw-r--r-- | api/post.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/post.go b/api/post.go index f96320639..f6699d181 100644 --- a/api/post.go +++ b/api/post.go @@ -377,7 +377,7 @@ func fireAndForgetNotifications(post *model.Post, teamId, siteURL string) { location, _ := time.LoadLocation("UTC") tm := time.Unix(post.CreateAt/1000, 0).In(location) - subjectPage := NewServerTemplatePage("post_subject", teamURL) + subjectPage := NewServerTemplatePage("post_subject", siteURL) subjectPage.Props["TeamDisplayName"] = teamDisplayName subjectPage.Props["SubjectText"] = subjectText subjectPage.Props["Month"] = tm.Month().String()[:3] @@ -395,7 +395,7 @@ func fireAndForgetNotifications(post *model.Post, teamId, siteURL string) { continue } - bodyPage := NewServerTemplatePage("post_body", teamURL) + bodyPage := NewServerTemplatePage("post_body", siteURL) bodyPage.Props["Nickname"] = profileMap[id].FirstName bodyPage.Props["TeamDisplayName"] = teamDisplayName bodyPage.Props["ChannelName"] = channelName |