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

Этот коммит содержится в:
Justyn Shull
2015-09-29 11:48:13 -05:00
родитель 2c11cbc266
Коммит 5064f9cba2
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@@ -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
}