mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 07:12:15 +00: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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user