`unmatched topic` after reconnect
At first thank you for your work and this nice library! :-)
I have some trouble with reconnections. While my research I found the following issue on phoenix's JS client.
I get the same behavior on this client.
If I call disconnect and connect again to simulate a connection drop, I can not push messages anymore. I still get error with unmatched topic.
Message(joinRef=null, ref=16, topic=room:lobby, event=chan_reply_16, rawPayload={response={reason=unmatched topic}, status=error})
Debugging the client show all things are connected
canPush = true
isJoined = true
socket.isConnected = true
I have looked at the linked issue and the merge requests. But I don't understand the cause or the solution to fix this by myself.
In case this is really a bug and someone can help me to understand the cause and have some ideas how to fix this, I want to create a PR for this.
Thanks for the great issue and linking to a related issue in the JS client. I'll work on getting this fixed up