mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 07:16:18 -04:00
prevent base64ZipDialog from closing when ws disconnects
This commit is contained in:
parent
6bc1bcf743
commit
469d3f6ec8
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class ServerConnection {
|
|||
|
||||
_onPairDeviceJoin(roomKey) {
|
||||
if (!this._isConnected()) {
|
||||
setTimeout(_ => this._onPairDeviceJoin(roomKey), 1000);
|
||||
setTimeout(_ => this._onPairDeviceJoin(roomKey), 5000);
|
||||
return;
|
||||
}
|
||||
this.send({ type: 'pair-device-join', roomKey: roomKey })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue