Merge pull request #1157 from mattermost/websocket-fix

Fix websocket not connecting when session index is 0
Этот коммит содержится в:
Christopher Speller
2015-10-23 08:57:41 -04:00
родитель 4ba9217777 cc25355af7
Коммит 510abb408b

Просмотреть файл

@@ -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;
}