Bugfix. Open groupchats not shown when logging in after disconnection
* Replace `tearDown` overrides with event handlers. * Move presence listeners to `connected` event handler, otherwise they don't get called when logging in again after disconnection. * Add `clearSession` listeners to clean up upon disconnection. * Use `Promise.all` instead of listening for multiple events.
Showing
Please register or sign in to comment