Fix websocket not connecting when session index is 0

Этот коммит содержится в:
JoramWilander
2015-10-23 08:55:45 -04:00
родитель 02a6f6b2cd
Коммит cc25355af7

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

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