summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-12-11 12:01:52 -0500
committerJoramWilander <jwawilander@gmail.com>2015-12-11 12:01:52 -0500
commit7a82aec1e9c324160d3d004ded5168f7983786f1 (patch)
tree1c962b2d321130beb386c80125d3d8700b33940e /api
parentce03fbc6d8176b6d5a903312241a948f59785a04 (diff)
downloadchat-7a82aec1e9c324160d3d004ded5168f7983786f1.tar.gz
chat-7a82aec1e9c324160d3d004ded5168f7983786f1.tar.bz2
chat-7a82aec1e9c324160d3d004ded5168f7983786f1.zip
Include SiteURL in props for invite email
Diffstat (limited to 'api')
-rw-r--r--api/team.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/team.go b/api/team.go
index 2cc7106dc..0918b40e2 100644
--- a/api/team.go
+++ b/api/team.go
@@ -514,6 +514,7 @@ func InviteMembers(c *Context, team *model.Team, user *model.User, invites []str
subjectPage.Props["TeamDisplayName"] = team.DisplayName
bodyPage := NewServerTemplatePage("invite_body")
+ bodyPage.Props["SiteURL"] = c.GetSiteURL()
bodyPage.Props["TeamURL"] = c.GetTeamURL()
bodyPage.Props["TeamDisplayName"] = team.DisplayName
bodyPage.Props["SenderName"] = sender