diff --git a/app/lib/rocketchat.js b/app/lib/rocketchat.js index f711edea..1361f183 100644 --- a/app/lib/rocketchat.js +++ b/app/lib/rocketchat.js @@ -263,7 +263,6 @@ const RocketChat = { } reduxStore.dispatch(connectSuccess()); const { server: currentServer } = reduxStore.getState().server; - const { user } = reduxStore.getState().login; if (user?.token && server === currentServer) { reduxStore.dispatch(loginRequest({ resume: user.token }, logoutOnError)); }