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
|
@ -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…
Reference in New Issue