From 171a788715c8d363dd72706aead89e985617ef90 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Mon, 3 Jul 2017 15:54:59 +0100 Subject: PLT-6951: Fix channel join slash command. (#6824) Don't show an ephemeral message when the channel join succeeds. Just redirect to the channel. --- app/command_join.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/command_join.go') diff --git a/app/command_join.go b/app/command_join.go index caacb8c7e..07ae391ae 100644 --- a/app/command_join.go +++ b/app/command_join.go @@ -58,7 +58,7 @@ func (me *JoinProvider) DoCommand(args *model.CommandArgs, message string) *mode return &model.CommandResponse{Text: args.T("api.command_join.fail.app_error"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL} } - return &model.CommandResponse{GotoLocation: args.SiteURL + "/" + team.Name + "/channels/" + channel.Name, Text: args.T("api.command_join.success"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL} + return &model.CommandResponse{GotoLocation: args.SiteURL + "/" + team.Name + "/channels/" + channel.Name} } } -- cgit v1.2.3-1-g7c22