mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fix websocket not connecting when session index is 0
This commit is contained in:
@@ -38,7 +38,7 @@ class SocketStoreClass extends EventEmitter {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!global.window.mm_session_token_index) {
|
||||
if (!global.window.hasOwnProperty('mm_session_token_index')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user