Closed ZakSingh closed 3 years ago
Please reproduce and share logs with https://github.com/xmppjs/xmpp.js/tree/master/packages/debug
More information would also be useful, server name, server version, xmpp.js version
BTW if you have stream management enabled and the stream resumes after disconnect, online
wont be emitted just as offline
wasn't emitted. That's expected - from a user perspective resuming a stream is like nothing happened.
The reconnect function emits
open
, whilexmpp.start()
emitsopen
thenonline
. However, when you checkxmpp.status
, the value isonline
in both cases.