Fix reconnect

This commit is contained in:
yflory
2018-06-06 17:25:06 +02:00
parent 9c5ad795e1
commit 953d98be96
4 changed files with 10 additions and 6 deletions

View File

@@ -966,7 +966,7 @@ define([
channel.queue.forEach(function (data) {
sendMessage(data.message);
});
cb({
postMessage("PAD_CONNECT", {
myID: wc.myID,
id: wc.id,
members: wc.members

View File

@@ -24,7 +24,7 @@ define([
var txid = mkTxid();
var timeout = setTimeout(function () {
delete queries[txid];
console.log("Timeout making query " + q);
//console.log("Timeout making query " + q);
}, 30000);
queries[txid] = function (data, msg) {
clearTimeout(timeout);