Fix stupid bug preventing the Messaging module to catch up with message queue while the WebSocket was disconnected

This commit is contained in:
Tissevert 2020-01-16 16:03:34 +01:00
parent 8cfcd419ef
commit 3bb2c5c246

View file

@ -92,7 +92,7 @@ function send(o) {
function catchUp() { function catchUp() {
var messages = messagesQueue; var messages = messagesQueue;
messagesQueue = []; messagesQueue = [];
messagesQueue.forEach(send); messages.forEach(send);
} }
function log(message) { function log(message) {