mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Update the /join command to use the correct redirect URL, and update the test to match
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user