Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3376559
D10289.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
823 B
Referenced Files
None
Subscribers
None
D10289.diff
View Options
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;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 1:03 AM (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2592241
Default Alt Text
D10289.diff (823 B)
Attached To
Mode
D10289: [lib] Remove unnecessary code
Attached
Detach File
Event Timeline
Log In to Comment