Open siddheshshirsat opened 4 years ago
In the WebSocketClient::onOpen method , connectStomp() is called before setting isWebSocketConnected to true which prevents the CONNECT Stomp message from being sent.
This results in subscriptions not working correctly.
Relevant code: https://github.com/boumba100/android-stomp-websocket/blob/master/wstompclient/src/main/java/nbouma/com/wstompclient/implementation/StompClient.java#L91-L107
In the WebSocketClient::onOpen method , connectStomp() is called before setting isWebSocketConnected to true which prevents the CONNECT Stomp message from being sent.
This results in subscriptions not working correctly.
Relevant code: https://github.com/boumba100/android-stomp-websocket/blob/master/wstompclient/src/main/java/nbouma/com/wstompclient/implementation/StompClient.java#L91-L107