diff --git a/lib/socket/socket.react.js b/lib/socket/socket.react.js --- a/lib/socket/socket.react.js +++ b/lib/socket/socket.react.js @@ -495,7 +495,7 @@ this.props.getInitialNotificationsEncryptedMessage, ); - if (!recoverySessionChange && sessionChange) { + if (!recoverySessionChange) { const { cookie: newerCookie, currentUserInfo } = sessionChange; this.props.dispatch({ type: setNewSessionActionType, @@ -512,11 +512,6 @@ keyserverID: ashoatKeyserverID, }, }); - } else if (!recoverySessionChange) { - void this.props.dispatchActionPromise( - logOutActionTypes, - this.props.logOut(this.props.preRequestUserState), - ); } this.invalidationRecoveryInProgress = false; }