-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
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
You need to add the automatic reconnection in case of error or close the stream. #25
Comments
Yes! Related to issue #14. |
Can I help you? |
Patches are always welcomed. I may however reject technically incorrect submissions. :-) |
So I can see the reconnect option on the Client and where it comes in through the parameters, but it doesn't appear to be plumbed into anything. Am I right or does it now work and this ticket just hasn't been closed yet? |
It is plumbed. Please test it. |
@astro it looks to be working well now thanks. My bot is now staying up where it would drop offline within 1 to 24hrs or so before. |
You need to add the automatic reconnection in case of error or close the stream.
Add option: xmpp.Client({ reconnect: true });
The text was updated successfully, but these errors were encountered: