summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-23 08:57:41 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-23 08:57:41 -0400
commit510abb408b7524cad4be3b1bb73231cfba6fbe43 (patch)
treea54f565ebaf90f8b23f7a2ad12ce5d6f1b402f8e /web
parent4ba9217777043a8a9be9c06a3595d1e49f683926 (diff)
parentcc25355af79fcfeea2b59e97468ef812e1007aa8 (diff)
downloadchat-510abb408b7524cad4be3b1bb73231cfba6fbe43.tar.gz
chat-510abb408b7524cad4be3b1bb73231cfba6fbe43.tar.bz2
chat-510abb408b7524cad4be3b1bb73231cfba6fbe43.zip
Merge pull request #1157 from mattermost/websocket-fix
Fix websocket not connecting when session index is 0
Diffstat (limited to 'web')
-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;
}