Close all chat boxes when disconnected (with no reconnection attempt)
This commit is contained in:
parent
d3fe8e63b3
commit
0fe4031a1b
@ -450,6 +450,7 @@
|
|||||||
}
|
}
|
||||||
delete converse.connection.reconnecting;
|
delete converse.connection.reconnecting;
|
||||||
converse._tearDown();
|
converse._tearDown();
|
||||||
|
converse.chatboxviews.closeAllChatBoxes();
|
||||||
converse.emit('disconnected');
|
converse.emit('disconnected');
|
||||||
converse.log('DISCONNECTED');
|
converse.log('DISCONNECTED');
|
||||||
return 'disconnected';
|
return 'disconnected';
|
||||||
|
Loading…
Reference in New Issue
Block a user