-
JC Brand authored
* 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.
ce2ae87d