Update the /join command to use the correct redirect URL, and update the test to match

This commit is contained in:
Justyn Shull
2015-09-29 11:48:13 -05:00
parent 2c11cbc266
commit 5064f9cba2
2 changed files with 4 additions and 3 deletions

View File

@@ -195,7 +195,7 @@ func joinCommand(c *Context, command *model.Command) bool {
return false
}
command.GotoLocation = "/channels/" + v.Name
command.GotoLocation = c.GetTeamURL() + "/channels/" + v.Name
command.Response = model.RESP_EXECUTED
return true
}