The Strophe.Connection obj needs to be reset before reuse.
Otherwise re-login hangs after authfail.
This commit is contained in:
parent
33cc2c3cf5
commit
61bee4c263
|
@ -418,6 +418,7 @@
|
|||
this.disconnect = function () {
|
||||
_converse.log('DISCONNECTED');
|
||||
delete _converse.connection.reconnecting;
|
||||
_converse.connection.reset();
|
||||
_converse._tearDown();
|
||||
_converse.chatboxviews.closeAllChatBoxes();
|
||||
_converse.emit('disconnected');
|
||||
|
|
Loading…
Reference in New Issue
Block a user