We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Calling client?.disconnect it's possible that this.socket is undefined
client?.disconnect
this.socket
Logs I didn't get a chance to reproduce it locally. Only attaching sentry logs
I suspect it could be a case when client is already disconnected but please let me know if I should provide more logs/reproduction
Environment Browser
The text was updated successfully, but these errors were encountered:
I agree it should throw if socket is undefined.
socket
Can you send a PR?
xmpp.js/packages/connection/index.js
Line 238 in d5260a1
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Calling
client?.disconnect
it's possible thatthis.socket
is undefinedLogs
I didn't get a chance to reproduce it locally. Only attaching sentry logs
I suspect it could be a case when client is already disconnected but please let me know if I should provide more logs/reproduction
Environment
Browser
The text was updated successfully, but these errors were encountered: