Do not stop trying to reconnect to server if offline (private networks and on same machine might still work)

This commit is contained in:
schlagmichdoch 2024-07-14 18:05:51 +02:00
parent 76c47c9623
commit f7ea519106

View file

@ -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"),