summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/react/stores/socket_store.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx
index 33cdc79fb..8c3489001 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;
}