Commit ca9d53a6 authored by JC Brand's avatar JC Brand

These didn't have the intended effect.

Calling `remove` without models does nothing
parent bea76e5b
......@@ -827,11 +827,6 @@
_converse.emit('chatBoxesInitialized');
});
_converse.api.listen.on('beforeTearDown', () => {
_converse.chatboxes.remove(); // Don't call off(), events won't get re-registered upon reconnect.
delete _converse.chatboxes.browserStorage;
});
_converse.api.listen.on('logout', () => {
_converse.chatboxviews.closeAllChatBoxes();
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment