mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-22 07:46:17 -04:00
Do not stop trying to reconnect to server if offline (private networks and on same machine might still work)
This commit is contained in:
parent
76c47c9623
commit
f7ea519106
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class ServerConnection {
|
|||
|
||||
_connect() {
|
||||
clearTimeout(this._reconnectTimer);
|
||||
if (this._isConnected() || this._isConnecting() || this._isOffline()) return;
|
||||
if (this._isConnected() || this._isConnecting()) return;
|
||||
if (this._isReconnect) {
|
||||
Events.fire('notify-user', {
|
||||
message: Localization.getTranslation("notifications.connecting"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue