Skip to content

Commit

Permalink
Allow websocket retries when proxy is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Apr 11, 2023
1 parent f8f70ed commit ca0dd03
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ private void onStateChange(WebSocketConnectionState connectionState, HealthState
break;
}
case FAILED:
if (SignalStore.proxy().isProxyEnabled()) {
Log.w(TAG, "Encountered an error while we had a proxy set! Terminating the connection to prevent retry spam.");
ApplicationDependencies.closeConnections();
}
break;
}

Expand Down

0 comments on commit ca0dd03

Please sign in to comment.