mirror of https://github.com/BTCPrivate/copay.git
remove onlyYou message
This commit is contained in:
parent
7c14706e92
commit
e7980aefaa
|
@ -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');
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue