remove debugging console.error

pull/1/head
yflory 5 years ago
parent 1826d05e31
commit 32fd1b4971

@ -775,7 +775,6 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
Object.keys(data).forEach(function (curve) { Object.keys(data).forEach(function (curve) {
if (!isValidId(curve) || isMap(ref.state.members[curve])) { return delete data[curve]; } if (!isValidId(curve) || isMap(ref.state.members[curve])) { return delete data[curve]; }
}); });
console.error('SENDING INVITE');
send(['INVITE', data], cb); send(['INVITE', data], cb);
}; };

@ -446,7 +446,6 @@ define([
// If we've been kicked, don't try to update our data, we'll close everything // If we've been kicked, don't try to update our data, we'll close everything
// in the next nThen part // in the next nThen part
var state = roster.getState(); var state = roster.getState();
console.error(state);
var me = Util.find(ctx, ['store', 'proxy', 'curvePublic']); var me = Util.find(ctx, ['store', 'proxy', 'curvePublic']);
if (!state.members[me]) { return; } if (!state.members[me]) { return; }

Loading…
Cancel
Save