diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-23 08:57:41 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-23 08:57:41 -0400 |
commit | 510abb408b7524cad4be3b1bb73231cfba6fbe43 (patch) | |
tree | a54f565ebaf90f8b23f7a2ad12ce5d6f1b402f8e /web/react/stores/socket_store.jsx | |
parent | 4ba9217777043a8a9be9c06a3595d1e49f683926 (diff) | |
parent | cc25355af79fcfeea2b59e97468ef812e1007aa8 (diff) | |
download | chat-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/react/stores/socket_store.jsx')
-rw-r--r-- | web/react/stores/socket_store.jsx | 2 |
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; } |