remove onlyYou message

This commit is contained in:
Manuel Araoz 2014-08-07 18:58:12 -03:00
parent 7c14706e92
commit e7980aefaa
2 changed files with 1 additions and 3 deletions

View File

@ -249,9 +249,6 @@ WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphras
self.network.on('connected', function(sender, data) {
connectedOnce = true;
});
self.network.on('onlyYou', function(sender, data) {
return cb(connectedOnce ? 'walletFull' : 'joinError');
});
self.network.on('serverError', function() {
return cb('joinError');

View File

@ -258,6 +258,7 @@ Network.prototype._setupConnectionHandlers = function() {
};
Network.prototype._handlePeerError = function(err) {
alert(err);
console.log('RECV ERROR: ', err);
if (err.message.match(/Could\snot\sconnect\sto peer/)) {
this._checkAnyPeer();