From 78d809a35671b3f43905bb8529f400cdb8bf76ed Mon Sep 17 00:00:00 2001 From: "anton.buksa" Date: Mon, 28 Oct 2024 15:32:55 +0100 Subject: [PATCH] redirect to kchat tab directly in ksuite redirect Changelog: fixed --- .../channels/src/packages/mattermost-redux/src/actions/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/channels/src/packages/mattermost-redux/src/actions/users.ts b/webapp/channels/src/packages/mattermost-redux/src/actions/users.ts index 9d57f4987b..190749f529 100644 --- a/webapp/channels/src/packages/mattermost-redux/src/actions/users.ts +++ b/webapp/channels/src/packages/mattermost-redux/src/actions/users.ts @@ -79,7 +79,7 @@ export function loadMe(): ActionFuncAsync { if (!bridge.isConnected && !isDesktopApp() && Client4.isIkBaseUrl() && process.env.NODE_ENV !== 'test' && process.env.NODE_ENV !== 'development') { //eslint-disable-line no-process-env // eslint-disable-next-line no-process-env - window.location.assign(`https://ksuite.${process.env.BASE_URL?.split('kchat.')[1]}`); + window.location.assign(`https://ksuite.${process.env.BASE_URL?.split('kchat.')[1]}/kchat`); return; }