Merge pull request #2531 from mattermost/websocket-fix

Removing extranious this in websockets.
Этот коммит содержится в:
Harrison Healey
2016-03-24 12:49:39 -04:00
родитель c64b12e27a 8f0caf8dbf
Коммит 5163b8a82c

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

@@ -142,7 +142,7 @@ export function sendMessage(msg) {
conn.send(JSON.stringify(msg));
} else if (!conn || conn.readyState === WebSocket.Closed) {
conn = null;
this.initialize();
initialize();
}
}