We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51b9dc commit 5f66b3eCopy full SHA for 5f66b3e
src/main/java/com/pusher/client/connection/websocket/WebSocketConnection.java
@@ -191,7 +191,10 @@ private void handleConnectionMessage(final String message) {
191
final Map dataMap = GSON.fromJson(dataString, Map.class);
192
socketId = (String)dataMap.get("socket_id");
193
194
- updateState(ConnectionState.CONNECTED);
+ if(state != ConnectionState.CONNECTED){
195
+ updateState(ConnectionState.CONNECTED);
196
+
197
+ }
198
reconnectAttempts = 0;
199
}
200
0 commit comments