summaryrefslogtreecommitdiffstats
path: root/cmd/platform/user.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-01-06 09:10:21 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-06 09:10:21 -0500
commit1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1 (patch)
tree258f05cb63d7d38d999cb42ca86dd43a55250bfd /cmd/platform/user.go
parent657d4101f9a5e04edcbab2d84d6467c18aa395bf (diff)
downloadchat-1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1.tar.gz
chat-1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1.tar.bz2
chat-1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1.zip
Fix SiteURL in join team email (#4979)
Diffstat (limited to 'cmd/platform/user.go')
-rw-r--r--cmd/platform/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/user.go b/cmd/platform/user.go
index 43a00e68d..373274241 100644
--- a/cmd/platform/user.go
+++ b/cmd/platform/user.go
@@ -261,7 +261,7 @@ func inviteUser(email string, team *model.Team, teamArg string) {
CommandPrintErrorln("Can't find team '" + teamArg + "'")
return
}
- api.InviteMembers(team, "Administrator", invites)
+ api.InviteMembers(team, "Administrator", invites, *utils.Cfg.ServiceSettings.SiteURL)
CommandPrettyPrintln("Invites may or may not have been sent.")
}