summaryrefslogtreecommitdiffstats
path: root/cmd/platform/oldcommands.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-03-17 16:29:26 +0000
committerGeorge Goldberg <george@gberg.me>2017-03-17 16:29:26 +0000
commit7f266c19511171f509ae8a60170de10c8d10b41e (patch)
tree04cd68ac4722313abec3ea47cc7cda229e463b1d /cmd/platform/oldcommands.go
parentbfae88e60c7a623afae82e06ce1421ca778c06e7 (diff)
parent8568afe5b4fb4d26b14fbc0d21f088eaa490b314 (diff)
downloadchat-7f266c19511171f509ae8a60170de10c8d10b41e.tar.gz
chat-7f266c19511171f509ae8a60170de10c8d10b41e.tar.bz2
chat-7f266c19511171f509ae8a60170de10c8d10b41e.zip
Merge branch 'release-3.7' into master.
Diffstat (limited to 'cmd/platform/oldcommands.go')
-rw-r--r--cmd/platform/oldcommands.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/platform/oldcommands.go b/cmd/platform/oldcommands.go
index 518dcbaaf..18758cc61 100644
--- a/cmd/platform/oldcommands.go
+++ b/cmd/platform/oldcommands.go
@@ -274,7 +274,7 @@ func cmdCreateUser() {
}
if team != nil {
- err = app.JoinUserToTeam(team, ruser)
+ err = app.JoinUserToTeam(team, ruser, utils.GetSiteURL())
if err != nil {
l4g.Error("%v", err)
flushLogAndExit(1)
@@ -546,7 +546,7 @@ func cmdLeaveChannel() {
channel = result.Data.(*model.Channel)
}
- err := app.RemoveUserFromChannel(user.Id, user.Id, channel)
+ err := app.RemoveUserFromChannel(user.Id, user.Id, channel, utils.GetSiteURL())
if err != nil {
l4g.Error("%v", err)
flushLogAndExit(1)
@@ -673,7 +673,7 @@ func cmdJoinTeam() {
user = result.Data.(*model.User)
}
- err := app.JoinUserToTeam(team, user)
+ err := app.JoinUserToTeam(team, user, utils.GetSiteURL())
if err != nil {
l4g.Error("%v", err)
flushLogAndExit(1)