diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx index 33cdc79fb2..8c34890018 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -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; }